Commit Graph

  • b7f38ac8bc Replace Builder's Vec<u8> with a Box<[u8]>. Dan Gohman 2018-04-30 13:45:57 -07:00
  • f4fe438bae Suppress a warning about AsciiExt being deprecated. Dan Gohman 2018-04-30 08:09:31 -07:00
  • 4942772f90 Add several more x86 CPU models. Dan Gohman 2018-04-26 20:09:27 -07:00
  • afd5442722 Minor comment typo fix. (#315) pup 2018-04-30 13:26:21 -07:00
  • 525f01713b Bump version to 0.7.0 Dan Gohman 2018-04-27 06:02:18 -07:00
  • c40a4ddc53 Add functions to Module for initializing Contexts. Dan Gohman 2018-04-27 05:38:53 -07:00
  • 9e48344f7f Update examples to reflect that Cretonne indices typically start at 0. Dan Gohman 2018-04-26 20:51:45 -07:00
  • 779114aaed Require at least Sphinx 1.4 since the format of index tuples changed. Dan Gohman 2018-04-26 20:43:25 -07:00
  • ee9dcb8367 Improvements to Modules API (#307) Pat Hickey 2018-04-26 22:02:35 -07:00
  • 948d5fdeec Document that i8 and i16 arithmetic support is incomplete (#299) John Rieth 2018-04-26 11:07:34 -07:00
  • 8351ba3e3e Disassemble compiled binary for debugging (#308) Tyler McMullen 2018-04-23 23:24:02 -04:00
  • e356c742aa Bump version to 0.6.0 Dan Gohman 2018-04-23 14:35:23 -07:00
  • 229b748f02 Update to wasmparser 0.16.1. Dan Gohman 2018-04-23 14:06:54 -07:00
  • 834df5290d Add more comments to module.rs. Dan Gohman 2018-04-23 10:26:33 -07:00
  • 0ef032cc41 Add more commonly-used names to the prelude. Dan Gohman 2018-04-23 10:14:32 -07:00
  • 103a65f171 Mention the prelude in the umbrella README. Dan Gohman 2018-04-23 10:14:14 -07:00
  • 5bcfd47f3f Remove the non-REX encodings for regmove et al. Dan Gohman 2018-04-20 08:59:50 -07:00
  • 56b3465ed0 Use more lower-case letters for github URLs. Dan Gohman 2018-04-22 22:09:31 -07:00
  • 9f0a35103a Update a comment. Dan Gohman 2018-04-20 21:42:13 -07:00
  • beddcc50f2 Minor code refactoring. Dan Gohman 2018-04-20 21:42:09 -07:00
  • 3b1d805758 Stack overflow checking with stack probes. Dan Gohman 2018-04-20 21:41:45 -07:00
  • c5b15c2396 Refactor calling convention settings. (#304) Dan Gohman 2018-04-22 21:35:18 -07:00
  • 8a9e4b9cff Update to faerie 0.2.0. Dan Gohman 2018-04-20 16:39:15 -07:00
  • 7079c72b28 Add comments to DataContext's import_function and import_global_var. Dan Gohman 2018-04-20 16:36:08 -07:00
  • dfb24f1934 Fix x86 encoding of uextend/sextend from 8-bit inputs. Dan Gohman 2018-04-20 12:08:01 -07:00
  • e876529152 Merge pull request #303 from sunfishcode/no_std_merge Dan Gohman 2018-04-20 12:11:53 -07:00
  • 653c11d580 Use "set -euo pipefail" in test-no_std.sh. Dan Gohman 2018-04-20 11:11:38 -07:00
  • 9249080ce8 Fix URL syntax. Dan Gohman 2018-04-20 11:06:25 -07:00
  • 33e266eeeb Fix missing word. Dan Gohman 2018-04-20 11:04:13 -07:00
  • cb3c5a1384 Revert the change to this test that accompanied the shrinking pass too. Dan Gohman 2018-04-19 18:57:59 -07:00
  • 3e4531657c Temporarily disable the shink_instruction pass. Dan Gohman 2018-04-19 17:49:48 -07:00
  • 5434f4dafa Update to raw_cpuid 3.1.0. Dan Gohman 2018-04-19 17:09:39 -07:00
  • bce8af97e3 Add an instruction shrinking pass. Dan Gohman 2018-04-19 14:03:38 -07:00
  • 583ae56fd2 Use opt_level instead of is_compressed for encoding optimizations. Dan Gohman 2018-04-19 16:20:01 -07:00
  • fd8df67cfd Convert an http link to https. Dan Gohman 2018-04-19 13:52:27 -07:00
  • c9a606da69 Use more lower-case letters for github URLs. Dan Gohman 2018-04-19 13:44:07 -07:00
  • 73c19bbf6d Fix the dbg! macro for no_std mode. Dan Gohman 2018-04-19 13:18:21 -07:00
  • d72706c478 Use use declarations rather than '::std::...' names. Dan Gohman 2018-04-19 13:14:12 -07:00
  • acabcc5c8f Merge remote-tracking branch 'origin/master' into no_std Dan Gohman 2018-04-19 12:40:10 -07:00
  • 830ee60d28 Add no_std support in module, simplejit, and umbrella. Dan Gohman 2018-04-18 17:39:43 -07:00
  • d9cd94f20d Add settings::Configurable and isa to the prelude. Dan Gohman 2018-04-19 12:19:21 -07:00
  • 8e4511ed6c Elaborate on the prelude. Dan Gohman 2018-04-19 11:46:49 -07:00
  • cb37c25d3a Introduce Builder and Product types to the Module workflow. Dan Gohman 2018-04-19 10:54:57 -07:00
  • 5bc0e0e188 Add a comment advertising NullTrapSink. Dan Gohman 2018-04-19 09:40:46 -07:00
  • 07576d3ed0 Make test-all.sh run unit tests in debug mode. Dan Gohman 2018-04-18 20:59:51 -07:00
  • 947177732a Update to filecheck 0.3.0. Dan Gohman 2018-04-18 20:59:42 -07:00
  • 5f84afee2c Merge remote-tracking branch 'origin/master' into no_std Dan Gohman 2018-04-18 17:17:43 -07:00
  • eefa1de4da Rename some local variables for consistency with the rest of the codebase. Dan Gohman 2018-04-18 17:02:32 -07:00
  • d122d16f79 Style consistency: don't end error messages with exclamation points. Dan Gohman 2018-04-18 10:22:49 -07:00
  • d874843a59 Merge pull request #301 from gmorenz/no_std Dan Gohman 2018-04-18 10:08:00 -07:00
  • c791a4f8b1 Update to wasmparser 0.16.0 morenzg 2018-04-18 12:46:55 -04:00
  • fdf34e9d3e Fix up nostd dependencies morenzg 2018-04-17 21:07:22 -04:00
  • d7e13284b2 Mark emit_to_memory as unsafe, and introduce a safe emit. (#281) Dan Gohman 2018-04-18 06:35:47 -07:00
  • 80da1a1e9f Add crate descriptions for cretonne-{module, faerie, simplejit}. Dan Gohman 2018-04-17 23:19:10 -07:00
  • 1ba468b230 Bump version to 0.5.1 Dan Gohman 2018-04-17 22:18:30 -07:00
  • d3e76b8a51 Add more tests for non-PIC calls on x86-64. Dan Gohman 2018-04-17 22:12:41 -07:00
  • bf597b7abf Enable and fix several more clippy lints. Dan Gohman 2018-04-02 08:48:06 -07:00
  • 5c6cb202d8 Suppress cast_ptr_alignment clippy errors. Dan Gohman 2018-04-17 16:02:10 -07:00
  • a10a6a0df0 Merge branch 'master' into no_std morenzg 2018-04-17 16:41:27 -04:00
  • 58380f38e8 Refactor SimpleJITTrapSink/FaerieTrapSink into NullTrapSink. Dan Gohman 2018-04-17 11:22:11 -07:00
  • 1f43ec09f3 Bump version to 0.5.0 Dan Gohman 2018-04-17 10:58:33 -07:00
  • 76db9f022d [WIP] Module API (#294) Dan Gohman 2018-04-17 10:52:36 -07:00
  • a9edb28414 Rename InstructionFormat::IndirectCall for consistency with Opcode::CallIndirect. Dan Gohman 2018-04-17 09:43:05 -07:00
  • e2f6705e28 Add a comment about why there's no is_pie setting. Dan Gohman 2018-04-17 09:36:39 -07:00
  • 635d14c251 Rename GlobalVarData::VmCtx for consistency with ArgumentPurpose::VMContext. Dan Gohman 2018-04-17 09:29:45 -07:00
  • 85662fbca9 Add an "umbrella" crate, which seeks to provide a convenient interface. Dan Gohman 2018-04-17 09:13:33 -07:00
  • f43b6aca1a Use lower-case letters for github URLs. Dan Gohman 2018-04-17 08:55:46 -07:00
  • 24fa169e1f Rename the 'cretonne' crate to 'cretonne-codegen'. Dan Gohman 2018-04-17 08:48:02 -07:00
  • 7767186dd0 Rename 'cton_*' library names to match the 'cretonne_*' crate names. Dan Gohman 2018-04-17 07:55:59 -07:00
  • f552c8768e Bump version to 0.4.4 Dan Gohman 2018-04-16 16:36:52 -07:00
  • 56f11e76b4 Use PC-relative encodings for colocated functions on non-PIC. Dan Gohman 2018-04-16 16:27:27 -07:00
  • 5977f2e45e Update packaging metadata for cretonne-entity. Dan Gohman 2018-04-16 14:50:41 -07:00
  • a4523cf0b8 Bump version to 0.4.3 Dan Gohman 2018-04-16 14:48:01 -07:00
  • 0e57f3d0ea Add a "colocated" flag to symbol references. (#298) Dan Gohman 2018-04-13 15:00:09 -07:00
  • 645fa3e858 Minor code cleanup. Dan Gohman 2018-04-13 13:48:16 -07:00
  • 98a4e32236 Try a different syntax for allowing failures on rust beta. Dan Gohman 2018-04-13 10:24:58 -07:00
  • 25d2ab4c00 Change the Travis config to allow failures in rust beta. Dan Gohman 2018-04-13 09:58:36 -07:00
  • 04746270b3 Rename X86Abs4/X86Abs8 to Abs4/Abs8. Dan Gohman 2018-04-13 09:11:14 -07:00
  • 1c760ab179 Rename intel to x86. Dan Gohman 2018-04-12 15:23:39 -07:00
  • 9e17e62d68 Move entity into a separate crate (#297) Amanieu d'Antras 2018-04-10 19:06:49 +01:00
  • 18b2f12150 Save/restore callee-saved registers used in regmove/regfill. Dan Gohman 2018-04-09 22:33:54 -07:00
  • eab57c0a40 Use large-model addressing for calls when in non-PIC mode. Dan Gohman 2018-04-09 14:53:00 -07:00
  • 2703b8ce6f The current x86-32 encodings for symbolic addresses are non-PIC. Dan Gohman 2018-04-09 10:33:00 -07:00
  • b0d414731c The addend for a PCRel4 reloc should be -4 too. Dan Gohman 2018-04-09 06:15:33 -07:00
  • 781d3ee3ff Bump version to 0.4.2 Dan Gohman 2018-04-03 16:04:54 -07:00
  • c47fa576b2 Convert some http links to https. Dan Gohman 2018-04-03 16:00:29 -07:00
  • e2681a6303 Tidy up an unneeded mut. Dan Gohman 2018-04-03 15:48:14 -07:00
  • 775c674b38 Only save callee-saved registers that are used (#293) Tyler McMullen 2018-04-03 14:44:12 -07:00
  • 0948ca9963 Add a status summary to the README. (#290) Dan Gohman 2018-04-03 10:12:03 -07:00
  • e107793b68 Pre-opt: Use the correct operand in the irsub_imm pattern. Dan Gohman 2018-03-30 21:00:37 -07:00
  • 95c09bbfde Add docs/_build to .gitignore. Dan Gohman 2018-03-30 17:09:21 -07:00
  • 07693048f0 Merge remote-tracking branch 'origin/master' into no_std Dan Gohman 2018-03-30 15:14:30 -07:00
  • b523b69c16 Make bash function syntax consistent with other scripts in the repo. Dan Gohman 2018-03-30 13:38:30 -07:00
  • c50675deb8 Format with nightly rustfmt-preview, then with rustfmt-0.9 again. Dan Gohman 2018-03-30 13:24:58 -07:00
  • 8d5fecd324 Format with stable rustfmt-preview, then with rustfmt-0.9 again. Dan Gohman 2018-03-30 13:17:15 -07:00
  • d7c66a8ec1 Don't run the DCE pass when optimization is disabled. Dan Gohman 2018-03-27 12:22:02 -07:00
  • 72b7a4b3ef Add iter() and values() functions to PrimaryMap and EntityMap. Dan Gohman 2018-03-30 11:33:44 -07:00
  • 9e4ab7dc86 Rename CallConv::Native to CallConv::SystemV. (#291) Dan Gohman 2018-03-30 12:32:14 -07:00
  • 6606b88136 Optimize immediates and compare and branch sequences (#286) Dan Gohman 2018-03-30 12:30:07 -07:00
  • 5377092e5b Use #[cold] rather than #[inline(never)]. Dan Gohman 2018-03-28 17:15:19 -07:00