Commit 72636a93 authored by Ben.Lippmeier@anu.edu.au's avatar Ben.Lippmeier@anu.edu.au
Browse files

NCG: validate fixes for x86_64-linux

parent 1d267793
......@@ -2038,8 +2038,8 @@ condFltReg cond x y = do
#elif x86_64_TARGET_ARCH
condFltReg cond x y = do
CondCode _ cond cond_code <- condFltCode cond x y
tmp1 <- getNewRegNat wordSize
tmp2 <- getNewRegNat wordSize
tmp1 <- getNewRegNat archWordSize
tmp2 <- getNewRegNat archWordSize
let
-- We have to worry about unordered operands (eg. comparisons
-- against NaN). If the operands are unordered, the comparison
......
......@@ -301,6 +301,7 @@ pprSize x
#elif x86_64_TARGET_ARCH
FF32 -> sLit "ss" -- "scalar single-precision float" (SSE2)
FF64 -> sLit "sd" -- "scalar double-precision float" (SSE2)
_ -> panic "X86.Ppr.pprSize: no match"
#else
_ -> panic "X86.Ppr.pprSize: no match"
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment