Dan Gohman
7f98f436f0
Add a link to the faerie github page.
2018-07-19 11:08:53 -07:00
Dan Gohman
20899d04a1
Fix "Title overline too short." warnings in more *.rst files.
2018-07-19 11:08:53 -07:00
Benjamin Bouvier
03159a9200
Misc refactorings when looking at the wasm code;
2018-07-19 06:39:56 -07:00
Dan Gohman
c068721964
Bump version to 0.16.1
2018-07-18 13:33:15 -07:00
Dan Gohman
ce27b2a74f
Bump version to 0.16.0
2018-07-17 15:49:04 -07:00
Dan Gohman
c0d5ffc380
The latest Ubuntu LTS now has Rust 1.25.
2018-07-17 15:01:08 -07:00
Dan Gohman
82ea38e4af
Convert expected uses to an unnumbered list, as they aren't ordered.
2018-07-17 15:01:08 -07:00
Dan Gohman
8d0f34310f
Convert top-level *.rst files to markdown.
...
These files don't use any Sphinx has that Markdown lacks, and Markdown
is more widely used and easier to edit.
2018-07-17 15:01:08 -07:00
Dan Gohman
a28a3c3ea9
Bump version to 0.15.0
2018-07-14 07:27:35 -07:00
Dan Gohman
753bb049f8
Fix "Title overline too short." warnings in *.rst files.
2018-07-13 17:23:23 -07:00
Dan Gohman
ff188042bb
Update comments and formatting in test-all.sh and publish-all.sh.
...
In particular, we no longer use the Github Releases page, so remove the
comment about that.
2018-07-13 17:21:03 -07:00
Dan Gohman
8930cb1b5d
Update dependency versions.
2018-07-13 16:34:34 -07:00
Dan Gohman
262689908e
Bump version to 0.14.0
2018-07-13 09:26:46 -07:00
Dan Gohman
401c872c52
Update more paths for the CraneStation/cranelift rename.
2018-07-13 09:22:15 -07:00
Dan Gohman
f4dbd38a4c
Rename Cretonne to Cranelift!
2018-07-13 09:15:16 -07:00
Dan Gohman
19a636af96
Change Cretonne's license to "Apache-2.0 WITH LLVM-exception".
...
This adds the "LLVM-exception" to Cretonne's existing Apache-2.0
license.
https://spdx.org/licenses/LLVM-exception.html
2018-07-13 07:25:32 -07:00
Benjamin Bouvier
26523fdf5c
[clippy] Pass a few argument types by value, not by reference;
...
Since Location is basically just a usize, and wasmparser::Type is an
enum, and both are copiable, this passes them down by value instead of
by reference, as suggested by Clippy.
2018-07-10 06:11:30 -07:00
Benjamin Bouvier
1987d4dba9
Reject with a plain text error when no ISA is defined with the wasm command; ( #391 )
...
And restructure code a bit to make it easier to understand.
2018-07-06 12:04:00 -07:00
Amanieu d'Antras
c6badde836
Update wabt to 0.4 ( #389 )
...
This fixes compilation on system with GCC 8.
2018-07-05 19:17:53 -07:00
bjorn3
5db45d26cc
Legalize several i8 insts ( #380 )
...
* Legalize several i8 insts
* X86: implement regmove.{i8,i16}
* Legalize bnot
* Remove comments
* Nicer type param binding in legalize.py
* Legalize sdiv_imm.i8
* Hopefully fix mypy error
* Add missing trailing newlines
* Fix tests
2018-07-04 06:31:00 -07:00
Grégoire Geis
dd72b54eef
Now diagnosing missing vmctx arguments ( fixes #376 ) ( #384 )
...
* Now diagnosing missing vmctx arguments (fixes #376 ).
* Added filetest for fix of #376 .
* Respect formatting rules in verifier/mod.rs.
* Added parameters for each use of vmctx in test files.
* Added comments on additions on vmctx verifications.
2018-07-03 20:59:32 -07:00
Grégoire Geis
e5014e0fff
Made Capstone an optional dependency ( fixes #382 ) ( #383 )
...
* Made Capstone an optional dependency (fixes #382 ).
* Introduced feature 'disas' for disassembly (related to #382 ).
* Made 'disas' a default feature in cretonne-tools.
* Fixed errors in src/compile.rs introduced by get_disassembler changes.
- Moves `use` statements before the function declaration.
- Returns an error if the disassembler cannot be found created.
2018-07-03 20:54:54 -07:00
Dan Gohman
4930ef8ba8
Remove srclocs from a regalloc testcase.
...
These aren't relevant to the testcase.
2018-07-02 22:44:30 -07:00
Dan Gohman
112ae6df56
Bump version to 0.13.0
2018-07-02 15:48:18 -07:00
Dan Gohman
b0cce6daec
Update the documentation for the new adjust_sp_* instruction names.
...
`adjust_sp_imm` has been split into `adjust_sp_up_imm` and
`adjust_sp_down_imm`, and `adjust_sp_down` has been added.
2018-07-02 15:43:15 -07:00
Dan Gohman
d2d8b56ddb
Fix test-no_std.sh to handle the case where topdir is ".".
...
Instead of using "cd $topdir" to get back to the top, use popd.
2018-07-02 15:17:14 -07:00
Dan Gohman
276ba8b97d
Support systems which don't have a "python" command. ( #386 )
...
Add support for finding an appropriate python command on systems which
don't have "python". Try "python3" and "python2.7".
Fixed #381 .
2018-07-02 13:02:00 -07:00
Dan Gohman
1074e2c755
Tidy up trailing whitespace.
2018-07-02 08:05:14 -07:00
Dan Gohman
8f3c49bc6c
Update more references to "global variables".
...
This continues the transition to "global values", which aren't
implicitly dereferenced.
2018-06-28 12:52:51 -07:00
Dan Gohman
99b9b96eee
Pop and fill don't trigger StackOverflow. ( #365 )
2018-06-28 12:47:13 -07:00
Dan Gohman
c5aad1eb5f
Add support for macho relocations. ( #378 )
...
This requires splitting X86PCRel4 into two separate relocations, to
distinguish the case where the instruction is a call, as Mach-O uses a
different relocation in that case.
This also makes it explicit that only x86-64 relocations are supported
currently.
2018-06-28 10:15:10 -07:00
Dan Gohman
7d2b44289c
Implement stack_addr, stack_load, stack_store for x86-64. ( #370 )
2018-06-26 06:15:21 -07:00
Dan Gohman
0349270b58
Bump version to 0.12.0
2018-06-16 07:50:27 -07:00
Lachlan Sneff
b3c3ca331b
Removed implicit indirection when computing heap base. ( #363 )
...
Fix expected legalized heap_addr
2018-06-16 07:31:52 -07:00
Lachlan Sneff
38ab82bcc0
Made changes for review
2018-06-15 18:33:30 -07:00
Lachlan Sneff
3686fc2fc7
Fix typos caused by find-and-replace
2018-06-15 18:33:30 -07:00
Lachlan Sneff
5c320a0d30
Change GlobalVar to GlobalValue
2018-06-15 18:33:30 -07:00
Dan Gohman
dfc7065252
Bump version to 0.11.0
2018-06-15 08:46:25 -07:00
Dan Gohman
9542cab5ed
Bump version to 0.10.0
2018-06-12 12:29:59 -07:00
Sergey Pepyakin
a8923e2185
Add 64-bit versions.
2018-06-12 11:54:23 -07:00
Sergey Pepyakin
399860e2aa
Encode bnot on x86.
2018-06-12 11:54:23 -07:00
Dan Gohman
a7813c4448
Update to target-lexicon 0.0.2.
...
This fixes compilation on rust 1.22.1.
2018-06-12 06:36:07 -07:00
Dan Gohman
3027579cbe
Add a test for instruction shrinking.
2018-06-12 05:02:25 -07:00
Dan Gohman
967da59181
Fix shellcheck warnings in shell scripts.
2018-06-12 05:02:25 -07:00
Dan Gohman
0daa560368
Accept redundant alias definitions.
...
In the text format, allow aliases to be defined multiple times, as long
as they're always aliasing the same value.
write.rs is already emitting redundant aliases, because it emits them at
their uses, so this change allows the parser to be able to parse such
code.
2018-06-12 05:02:25 -07:00
Sergey Pepyakin
f10682c246
Add documentation.
2018-06-09 13:18:12 -07:00
Sergey Pepyakin
73b6468d25
Parsing stack_limit
2018-06-09 13:18:12 -07:00
Sergey Pepyakin
e9111d1de2
Ditch stack_check instruction
2018-06-09 13:18:12 -07:00
Dan Gohman
944251260b
Bump version to 0.9.0
2018-06-07 11:46:36 -07:00
Dan Gohman
f37ebaa4ba
Bump version to 0.9.0
2018-06-07 11:42:52 -07:00