Commit Graph

  • 4af95e37a6 Convert regular comments to documentation comments. Dan Gohman 2018-03-28 16:22:05 -07:00
  • 68b2040ba2 Document that opcodes.rs contains InstructionData. Dan Gohman 2018-03-28 16:20:46 -07:00
  • 951ff11f85 [WIP] Add a Trap sink to code generation (#279) Tyler McMullen 2018-03-28 22:48:03 -07:00
  • d566faa8fb Disable preopt at opt_level=fastest. Dan Gohman 2018-03-28 16:16:35 -07:00
  • 57cd69d8b4 Say "IR" instead of "IL". Dan Gohman 2018-03-28 14:15:01 -07:00
  • a297465c25 Tidy up comment formatting. Dan Gohman 2018-03-28 13:29:17 -07:00
  • 592db1de7a Tighten up the parser's verification of value aliases. Dan Gohman 2018-03-28 13:28:59 -07:00
  • e5ec7242cc Fix handling of value aliases, and re-enable LICM. Dan Gohman 2018-03-28 13:20:11 -07:00
  • db2be8ee01 Verifier: Diagnose an instruction using its own result values. Dan Gohman 2018-03-28 20:09:49 -07:00
  • 23ab07b54e Support legalizing bconst instructions on x86. Dan Gohman 2018-03-28 14:11:16 -07:00
  • c3f044ff46 Note that the "widen" legalization group is not yet implemented. Dan Gohman 2018-03-28 13:44:16 -07:00
  • 8d560cf8ba Fix Rust syntax in generated code. Dan Gohman 2018-03-28 11:50:19 -07:00
  • 7b51edd285 Fix spelling in a comment to be consistent with the code. Dan Gohman 2018-03-28 08:58:58 -07:00
  • 7cce4be96a Fix an incorrect index in "cton-util wasm -s". Dan Gohman 2018-03-27 21:11:24 -07:00
  • 0b5bb313cb Mark CondCode's functions #[must_use]. Dan Gohman 2018-03-27 14:12:06 -07:00
  • 79f02e42dd Use movss/movsd rather than movd/movq for floating-point loads and stores. Dan Gohman 2018-03-27 11:21:37 -07:00
  • 3b0a9b9ecf Remove an unused argument. Dan Gohman 2018-03-26 21:58:46 -07:00
  • a661a8a9bb Factor out common ways to call encode from a dfg or func. Dan Gohman 2018-03-26 21:54:36 -07:00
  • ffe89cdc0a Rename %eflags to %rflags. Dan Gohman 2018-03-26 21:34:15 -07:00
  • 14faef7374 Derive Debug for LiveValue. Dan Gohman 2018-03-26 08:18:32 -07:00
  • 685cde98a4 Mark loads from globals aligned and notrap. Dan Gohman 2018-03-23 13:34:40 -07:00
  • bcd3309c15 Mention `reserved_reg` being unimplemented in the docs too. Dan Gohman 2018-03-23 13:10:28 -07:00
  • 80d2c5d9bf Implement shift-immediate encodings for x86 (#283) Pat Hickey 2018-03-26 16:48:20 -07:00
  • 51eea8b89d Add some comments noting unimplemented features. Dan Gohman 2018-03-23 12:46:23 -07:00
  • aa73de8ca1 Make code that tests for specific opcode families more consistent. Dan Gohman 2018-03-23 03:46:42 -07:00
  • 9602b78320 Disable the LICM pass for now. Dan Gohman 2018-03-22 16:55:18 -07:00
  • fc7b0a7e51 Rename the no_std feature to core. Dan Gohman 2018-03-22 13:43:06 -07:00
  • af8ac8f8ca Avoid calling analyze_branch() when the BranchInfo is not needed. Dan Gohman 2018-03-20 17:37:09 -07:00
  • 3ec7918ba1 Tidy up a redundant import. Dan Gohman 2018-03-20 15:25:40 -07:00
  • e787357520 Wrap build.py's contents in a main function. Dan Gohman 2018-03-20 15:22:22 -07:00
  • 03ee007624 Use clippy (#276) Pat Hickey 2018-03-22 13:10:41 -07:00
  • 2b3df1a506 Add use declarations for std features. Dan Gohman 2018-03-20 12:15:59 -07:00
  • da4cf27780 Update to filecheck 0.3.0. Dan Gohman 2018-03-20 12:04:17 -07:00
  • ca4582ae82 Rename the recipes for x86 spill/fill instructions. Dan Gohman 2018-03-19 09:13:47 -07:00
  • f6b8cf86a5 Factor out br_if translation into helper functions. Dan Gohman 2018-03-13 07:04:38 -07:00
  • c333a52e3e Factor out fcmp and icmp translation into helper functions. Dan Gohman 2018-03-13 05:56:59 -07:00
  • 2d1f9f874c Bump version to 0.4.1 Dan Gohman 2018-03-18 14:56:30 -07:00
  • d99b43e4b7 Add a hook to the wasm FuncEnvironment for emitting loop headers. Dan Gohman 2018-03-18 13:47:17 -07:00
  • 492fa1283c Define an "interrupt" trap code. Dan Gohman 2018-03-18 13:46:07 -07:00
  • 832d9d9a0d Minor code simplification. Dan Gohman 2018-03-18 13:45:41 -07:00
  • c161b0d103 Fix check-rustfmt.sh for macOS (#273) Sergey Pepyakin 2018-03-18 23:53:02 +03:00
  • 9a49bc2ec9 Rename I32 -> X86_32 and I64 -> X86_64 (#271) Afnan Enayet 2018-03-18 13:50:51 -07:00
  • ed734f8ecb Update to Cretonne 0.4.0. Dan Gohman 2018-03-16 16:34:20 -07:00
  • 921cea2845 Bump version to 0.4.0 Dan Gohman 2018-03-16 16:12:56 -07:00
  • 5e21ac1a30 Use whitespace more consistently in Cargo.toml files. Dan Gohman 2018-03-16 16:01:15 -07:00
  • a4c51d66a8 Remove uses of println! in tests. Dan Gohman 2018-03-12 14:06:15 -07:00
  • 06fe3b654f Avoid match expressions with reference patterns. Dan Gohman 2018-03-15 22:38:46 -07:00
  • 99f7cb5b8d Use debug_assert_ne rather than debug_assert with a !=. Dan Gohman 2018-03-07 21:32:56 -08:00
  • e6db8e278c Rename one more "local" to "explicit_slot". Dan Gohman 2018-03-07 21:32:47 -08:00
  • 5e5fcefdfd Add Travis builds with Rust nightly. Dan Gohman 2018-03-15 21:37:31 -07:00
  • e2f3079d8b Tidy up redundant commands in test-all.sh. Dan Gohman 2018-03-15 21:37:08 -07:00
  • 4dbafb45c7 Update to num_cpus 1.8, and other updates. Dan Gohman 2018-03-15 21:09:59 -07:00
  • e889b88d04 Split filecheck out into its own repo. Dan Gohman 2018-03-15 14:56:54 -07:00
  • 965b93bd2a Move the filetest harness into its own crate. Dan Gohman 2018-03-15 13:00:29 -07:00
  • 00af7a28f3 Run the filetests as part of "cargo test". Dan Gohman 2017-08-29 10:43:41 -07:00
  • b2acd457d5 Use OrderedDict rather than explicit sorting. Dan Gohman 2018-03-15 10:18:51 -07:00
  • c842b9aaa1 Code cleanup: import OrderedDict rather than collections.OrderedDict Dan Gohman 2018-03-15 10:13:26 -07:00
  • bb82bac3af Tweak the Gitter URLs. Dan Gohman 2018-03-14 12:40:20 -07:00
  • 48fc161b8b Add a badge for a Gitter chat room. Dan Gohman 2018-03-14 11:26:02 -07:00
  • 272d03d8fc Add a utility for generating Rust 'match' expressions. Dan Gohman 2018-03-14 10:40:47 -07:00
  • d9712f5d7d Elaborate on some comments in generated source files. Dan Gohman 2018-03-13 20:56:53 -07:00
  • cc8d6400f4 Rename builder.rs to inst_builder.rs. Dan Gohman 2018-03-13 17:00:23 -07:00
  • 3afe85ff17 Auto-generate InstructionData. Dan Gohman 2018-03-13 10:06:45 -07:00
  • 9128290fb4 Rename ILBuilder to FunctionBuilderContext (#268) Afnan Enayet 2018-03-14 10:48:06 -07:00
  • 44ca27beec Update to wasmparser 0.15.1. Dan Gohman 2018-03-12 16:11:14 -07:00
  • e776d987fd Add Cargo.toml badges for published packages. Dan Gohman 2018-03-12 16:07:13 -07:00
  • aaf0def241 Add lint overrides for unused extern crate hashmap_core. Dan Gohman 2018-03-12 14:09:34 -07:00
  • 1a671cf82f Remove uses of println! in tests. Dan Gohman 2018-03-12 14:06:15 -07:00
  • f9b9b4b8a4 Merge remote-tracking branch 'origin/master' into no_std Dan Gohman 2018-03-12 13:06:47 -07:00
  • 2b9229d715 Fix > 80-column lines for flake8. Dan Gohman 2018-03-12 13:02:55 -07:00
  • 4a3077d638 Merge remote-tracking branch 'origin/master' into no_std Dan Gohman 2018-03-12 12:55:57 -07:00
  • 11eddafef8 Avoid using floating-point values in expand_fcvt_to_sint. Dan Gohman 2018-03-12 10:28:42 -07:00
  • f04e02c0a1 Clarify comments about Conventional SSA form. Dan Gohman 2018-03-12 10:28:39 -07:00
  • 30f8daa9d6 Replace assert! with debug_assert! in production code paths. Dan Gohman 2018-03-12 10:28:35 -07:00
  • e81a27fb5d Implement Debug for ArgAction and Affinity. Dan Gohman 2018-03-12 10:28:32 -07:00
  • ad363d7e6b Replace cretonne-wasm's Local with cretonne-frontend's Variable. Dan Gohman 2018-03-12 10:28:25 -07:00
  • b8a106adf0 Remove the "has_sse2" flag. Dan Gohman 2018-03-12 10:28:19 -07:00
  • e441337e4b Bump version to 0.3.4 Dan Gohman 2018-03-09 16:32:13 -08:00
  • 1c72ccfe0a Define a Variable struct so that frontends don't have to. Dan Gohman 2018-03-09 15:01:13 -08:00
  • 56c7d85727 More minor code simplifications. Dan Gohman 2018-03-09 14:31:12 -08:00
  • 55d0efcb14 Pass the wasmparser::Operator by value, simplifying the code. Dan Gohman 2018-03-09 14:30:26 -08:00
  • 8df9fe6c87 Fix obsolete paths in comments. Dan Gohman 2018-03-08 12:12:10 -08:00
  • b9d7a43439 Elaborate on Cretonne's rustc backend goals. (#257) Dan Gohman 2018-03-08 06:07:18 -08:00
  • b5f428b6f2 Bump version to 0.3.3 Dan Gohman 2018-03-08 02:50:09 -08:00
  • 40ec50d0b6 Don't relax a branch to have different input constraints. Dan Gohman 2018-03-08 02:26:26 -08:00
  • 6cf9bf36b8 Fix a typo in a comment. Dan Gohman 2018-03-08 02:26:15 -08:00
  • ee0bce4106 Bump version to 0.3.2 Dan Gohman 2018-03-05 16:17:00 -08:00
  • 136d6f5c4b Implement ireduce, sextend, and uextend between i8/i16 and i32/i64. Dan Gohman 2018-03-05 15:13:59 -08:00
  • b1697dd1dc Style: Don't use else after a return. Dan Gohman 2018-03-05 14:34:35 -08:00
  • ae0801e23b Disable creation of .pyc files. Dan Gohman 2018-03-05 14:05:13 -08:00
  • 1a4723831b Add an encoding step to "cton-util compile". Dan Gohman 2018-03-05 14:02:45 -08:00
  • d119524c90 Bump version to 0.3.1 Dan Gohman 2018-03-05 07:11:23 -08:00
  • bf480c341b Use https rather than http for several URLs. Dan Gohman 2018-03-05 05:47:56 -08:00
  • 6e94e70f30 Use an https URL rather than http. Dan Gohman 2018-03-05 05:37:19 -08:00
  • be84db8e86 Fix glossary references. Dan Gohman 2018-03-04 22:40:36 -08:00
  • c59e9180de Tidy up whitespace. Dan Gohman 2018-03-04 22:37:34 -08:00
  • 0ea0146e58 Update to sphinx-autogen 1.5.6. Dan Gohman 2018-03-02 22:53:07 -08:00
  • d2d02565fb I64Extend16S should operate on 16 bits, not 8. Bruce Mitchener 2018-03-05 20:23:50 +07:00
  • 13b167770c Include emergency stack slots when laying out the stack. Dan Gohman 2018-03-03 13:21:10 -08:00
  • a301280d94 Change the stack alignment for 32-bit x86 to 16. Dan Gohman 2018-03-02 13:22:09 -08:00