bjorn3
bb8fa40ef0
Rustfmt
2019-10-02 11:50:44 -07:00
bjorn3
10e226f9ff
Always use extern crate std in cranelift-codegen
2019-10-02 11:50:44 -07:00
Andrew Brown
c932f9b2b5
Add parsing of 16-bit signed integers
2019-09-30 13:54:30 -07:00
Benjamin Bouvier
3ab8eed7d3
Remove unused core::mem import;
2019-09-23 14:41:07 +02:00
Anthony Ramine
26accbadf8
Use f32::to_bits and f64::to_bits
2019-09-23 10:36:03 +02:00
Andrew Brown
cd426cb7bc
Rename Uimm128 to V128Imm
2019-09-19 12:04:14 -07:00
Benjamin Bouvier
8a9384f869
Tweak comments;
2019-09-05 17:55:03 +02:00
Andrew Brown
d64e454004
Improve uimm128 parsing
...
This commit changes 128-bit constant parsing in two ways:
- it adds the ability to use underscores to separate digits when writing a 128-bit constant in hexadecimal; e.g. `0x00010203...` can now be written as `0x0001_0203_...`
- it adds a new mechanism for parsing 128-bit constants using integer/float/boolean literals; e.g. `vconst.i32x4 [1 2 3 4]`. Note that currently the controlling type of the instruction dictates how many literals to parse inside the brackets.
2019-09-04 07:16:04 -07:00
Andrew Brown
020e5987d3
Use little-endian ordering for CLIF vconst immediate
...
Examining wasm-objdump revealed that it stores SIMD constants in little-endian order, e.g.:
000071 func[2] <test_const>:
000072: fd 02 01 00 00 00 02 00 00 | v128.const 0x00000001 0x00000002 0x00000003 0x00000004
00007b: 00 03 00 00 00 04 00 00 00 |
000084: fd 0d 03 | i32x4.extract_lane 3
000087: 0b | end
This change avoids confusion by making the CLIF representation use little-endian order as well.
2019-08-26 16:12:06 -07:00
Andrew Brown
5ded38ce3e
Add unsigned 128-bit immediate
2019-08-26 16:12:06 -07:00
Andrew Brown
084e279def
Add x86 implementation of splat instruction
2019-07-16 17:07:44 -07:00
Benjamin Bouvier
563525b090
[meta] Remove mentions to Python in comments of the non-meta crate;
2019-07-05 17:50:17 +02:00
YISH
90028a6d0d
impl Ieee64::from(f64) and Ieee32::from(f32)
2019-02-19 14:03:21 -08:00
lazypassion
747ad3c4c5
moved crates in lib/ to src/, renamed crates, modified some files' text ( #660 )
...
moved crates in lib/ to src/, renamed crates, modified some files' text (#660 )
2019-01-28 15:56:54 -08:00