Fix trac #921: generate *q instructions for int-float conversions
authorIan Lynagh <igloo@earth.li>
Wed, 11 Oct 2006 14:00:07 +0000 (14:00 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 11 Oct 2006 14:00:07 +0000 (14:00 +0000)
commit16dbc25769d2c23314a97be10a824b7bb921ae49
treef50792744312825ec6924379f58773beddb5c038
parent046ee54f048ddd721dcee41916d6a6f68db3b15b
Fix trac #921: generate *q instructions for int-float conversions
We need to generate, e.g., cvtsi2sdq rather than cvtsi2sd on amd64 in
order to have int-float conversions work correctly for values not
correctly representable in 32 bits.
compiler/nativeGen/PprMach.hs