Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webkit/files/patch-Source_JavaScriptCore_offlineasm_arm.rb
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Source/JavaScriptCore/offlineasm/arm.rb.orig 2017-08-24 10:30:41 UTC | |||||
+++ Source/JavaScriptCore/offlineasm/arm.rb | |||||
mmel: armv6/v7: | |||||
@@ -502,8 +502,12 @@ class Instruction | |||||
$asm.puts "mov #{armFlippedOperands(operands)}" | |||||
Not Done Inline ActionsDon't emit ARMv7 instructions (movw, movt) for ARMv6 targets. mmel: Don't emit ARMv7 instructions (movw, movt) for ARMv6 targets. | |||||
end | |||||
when "mvlbl" | |||||
+ if isARMv7 or isARMv7Traditional | |||||
$asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}" | |||||
$asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}" | |||||
+ else | |||||
+ $asm.puts "ldr #{operands[1].armOperand}, =#{operands[0].value}" | |||||
+ end | |||||
when "nop" | |||||
$asm.puts "nop" | |||||
when "bieq", "bpeq", "bbeq" |
armv6/v7: