X86: Remove double-cast in Cvtf2i micro-op
authorVince Weaver <vince@csl.cornell.edu>
Tue, 10 Nov 2009 16:18:23 +0000 (11:18 -0500)
committerVince Weaver <vince@csl.cornell.edu>
Tue, 10 Nov 2009 16:18:23 +0000 (11:18 -0500)
commite81cc233a6fa82d2aec45bd9160db15df112f584
tree0d9e0cfcf3140142355eedfb2840fbcd913eeb65
parent7da221ca82e5e64b98d9e86421fa653e2ad3e540
X86: Remove double-cast in Cvtf2i micro-op

This double cast led to rounding errors which caused
some benchmarks to get the wrong values, most notably lucas
which failed spectacularly due to CVTTSD2SI returning an
off-by-one value.  equake was also broken.
src/arch/x86/isa/microops/mediaop.isa