From cfa410b0ea561318f74a76c5323f0f6cd8eaaa50 Mon Sep 17 00:00:00 2001 From: Mark Mendell Date: Mon, 25 May 2015 16:02:44 -0400 Subject: [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 --- compiler/utils/x86_64/assembler_x86_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils') 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); -- cgit v1.2.3-59-g8ed1b