Jakob Stoklund Olesen
79968a2325
Add standard expansions for fcopysign.
...
This is also just a sign bit manipulation.
2017-09-25 15:17:32 -07:00
Jakob Stoklund Olesen
6bec5f8507
Intel encodings for nearest/floor/ceil/trunc.
...
These floating point rounding operations all use the roundss/roundsd
instructions that are available in SSE 4.1.
2017-09-25 15:08:04 -07:00
Jakob Stoklund Olesen
ac343ba92a
Add encodings for square root instructions.
2017-09-25 13:15:09 -07:00
Jakob Stoklund Olesen
8deca67968
Add legalization patterns for fabs and fneg.
...
These sign bit manipulations need to use a -0.0 floating point constant
which we didn't have a way of materializing previously.
Add a ieee32.bits(0x...) syntax to the Python AST nodes that creates am
f32 immediate value with the exact requested bitwise representation.
2017-09-25 12:15:33 -07:00
Jakob Stoklund Olesen
ba1c50d6c1
Test WebAssembly floating point constants.
...
f64.const does not yet work on 32-bit Intel.
2017-09-25 11:06:18 -07:00
Jakob Stoklund Olesen
43e190ad20
Intel encodings for fadd, fsub, fmul, fdiv.
2017-07-20 10:40:11 -07:00