summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
author Mark Mendell <mark.p.mendell@intel.com> 2015-05-25 16:02:44 -0400
committer Mark Mendell <mark.p.mendell@intel.com> 2015-08-11 10:32:47 -0400
commitcfa410b0ea561318f74a76c5323f0f6cd8eaaa50 (patch)
tree80d989b8b26e3fd1afc232c5ecb9a0919823d15b /compiler/utils
parent1a5625be743a4a84329930ac1c7e96425e24ca8d (diff)
[optimizing] More x86_64 code improvements
Use the constant area some more, use 32-bit immediates in movq instructions when possible, and other small tweaks. Remove the commented out code for Math.Abs(float/double) as it would fail for baseline compiler due to the output being the same as the input. Change-Id: Ifa39f1865b94cec2e1c0a99af3066a645e9d3618 Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/x86_64/assembler_x86_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/x86_64/assembler_x86_64.h b/compiler/utils/x86_64/assembler_x86_64.h
index b8e5fb6e1d..beca0372ae 100644
--- a/compiler/utils/x86_64/assembler_x86_64.h
+++ b/compiler/utils/x86_64/assembler_x86_64.h
@@ -332,7 +332,7 @@ class X86_64Assembler FINAL : public Assembler {
void movq(CpuRegister dst, const Address& src);
void movl(CpuRegister dst, const Address& src);
void movq(const Address& dst, CpuRegister src);
- void movq(const Address& dst, const Immediate& src);
+ void movq(const Address& dst, const Immediate& imm);
void movl(const Address& dst, CpuRegister src);
void movl(const Address& dst, const Immediate& imm);