OSDN Git Service

X86: Use the constant area for more operations.
authorMark Mendell <mark.p.mendell@intel.com>
Fri, 30 Oct 2015 13:45:03 +0000 (09:45 -0400)
committerMark Mendell <mark.p.mendell@intel.com>
Fri, 22 Jan 2016 19:54:15 +0000 (14:54 -0500)
commitdc00454f0b9a134f01f79b419200f4044c2af5c6
tree49a787e2b617ce5bc69aa2dc4b71653c68ee0375
parent2d0582b6c96cf16e18df50158494e32eeede0a95
X86: Use the constant area for more operations.

Allow FP HNeg to use the constant area to hold the constant to flip the
sign bit.

Enhance some math intrinsics to allow the use of the constant
area: Abs{Float,Double}, {Min,Max}{FloatFloat,DoubleDouble}.

Allow compares of floats/doubles to constants using the constant area.

These eliminate almost all uses of loading constants from the stack.

Change-Id: Ic4b831565825cbe9f0801b1b53c1013be7c87ae4
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86.h
compiler/optimizing/intrinsics_x86.cc
compiler/optimizing/nodes.h
compiler/optimizing/nodes_x86.h
compiler/optimizing/pc_relative_fixups_x86.cc