Commit Graph

  • 9d6e30df92 Remove tests/lib.rs to avoid running tests twice. Jakob Stoklund Olesen 2016-08-12 11:03:28 -07:00
  • 9e87bffa82 Remove tests/lib.rs to avoid running tests twice. Jakob Stoklund Olesen 2016-08-12 11:03:28 -07:00
  • f7f157fb71 Move integration tests into src/tools/tests. Jakob Stoklund Olesen 2016-08-12 10:27:15 -07:00
  • 84a154a8ca Move integration tests into src/tools/tests. Jakob Stoklund Olesen 2016-08-12 10:27:15 -07:00
  • c998c79fe8 Generate code to precompute predicates. Jakob Stoklund Olesen 2016-08-11 17:38:56 -07:00
  • 514ebc6bf9 Generate code to precompute predicates. Jakob Stoklund Olesen 2016-08-11 17:38:56 -07:00
  • 13d33d5a7a Introduce predicates. Jakob Stoklund Olesen 2016-08-11 14:22:23 -07:00
  • 8457f67e34 Introduce predicates. Jakob Stoklund Olesen 2016-08-11 14:22:23 -07:00
  • 1087aa67f0 Implement the machinery to create a TargetIsa. Jakob Stoklund Olesen 2016-08-11 11:39:42 -07:00
  • aeb376227e Implement the machinery to create a TargetIsa. Jakob Stoklund Olesen 2016-08-11 11:39:42 -07:00
  • 1ae9a37796 Document ISA builder. Jakob Stoklund Olesen 2016-08-10 12:07:32 -07:00
  • 8c48739afd Document ISA builder. Jakob Stoklund Olesen 2016-08-10 12:07:32 -07:00
  • 6e6ad1ef52 Add a settings::Builder data type. Jakob Stoklund Olesen 2016-08-10 15:28:17 -07:00
  • b9baf06fb7 Add a settings::Builder data type. Jakob Stoklund Olesen 2016-08-10 15:28:17 -07:00
  • 56cb249e13 Add support for enumerated settings. Jakob Stoklund Olesen 2016-08-09 14:12:36 -07:00
  • 1ef72dd5ec Add support for enumerated settings. Jakob Stoklund Olesen 2016-08-09 14:12:36 -07:00
  • 530234ad32 Add settings::Stringwise. Jakob Stoklund Olesen 2016-08-09 11:52:36 -07:00
  • 07e851a222 Add settings::Stringwise. Jakob Stoklund Olesen 2016-08-09 11:52:36 -07:00
  • 24ec62d030 Move simple_hash into its own module. Jakob Stoklund Olesen 2016-08-09 11:28:51 -07:00
  • d152719d93 Move simple_hash into its own module. Jakob Stoklund Olesen 2016-08-09 11:28:51 -07:00
  • 4efb0efb44 Add ISA-dependent settings for RISC-V. Jakob Stoklund Olesen 2016-08-05 16:19:46 -07:00
  • 36ad7da3ec Add ISA-dependent settings for RISC-V. Jakob Stoklund Olesen 2016-08-05 16:19:46 -07:00
  • 1925c1b2c2 Scaffolding for defining settings. Jakob Stoklund Olesen 2016-08-05 13:38:43 -07:00
  • cfeefde3fc Scaffolding for defining settings. Jakob Stoklund Olesen 2016-08-05 13:38:43 -07:00
  • c679a2e746 Scaffold implementation of the TargetIsa trait. Jakob Stoklund Olesen 2016-08-05 09:55:53 -07:00
  • 6b69391289 Scaffold implementation of the TargetIsa trait. Jakob Stoklund Olesen 2016-08-05 09:55:53 -07:00
  • 1a4d07d437 Rename meta/target -> meta/isa. Jakob Stoklund Olesen 2016-08-04 11:50:19 -07:00
  • 92f84c655b Rename meta/target -> meta/isa. Jakob Stoklund Olesen 2016-08-04 11:50:19 -07:00
  • 6d786113db Add an empty isa/riscv module scaffold. Jakob Stoklund Olesen 2016-08-04 11:39:25 -07:00
  • c47c524017 Add an empty isa/riscv module scaffold. Jakob Stoklund Olesen 2016-08-04 11:39:25 -07:00
  • afdc4960d7 Don't sphinx-autobuild on Vim .swp file changes. Jakob Stoklund Olesen 2016-08-04 11:28:38 -07:00
  • 5bd2117ad7 Don't sphinx-autobuild on Vim .swp file changes. Jakob Stoklund Olesen 2016-08-04 11:28:38 -07:00
  • 5a8293427d Verify that type variables have been fully bound. Jakob Stoklund Olesen 2016-08-04 10:21:48 -07:00
  • 24c97ce6e5 Verify that type variables have been fully bound. Jakob Stoklund Olesen 2016-08-04 10:21:48 -07:00
  • a1cc8af186 Use dot syntax to bind type variables on instructions. Jakob Stoklund Olesen 2016-08-03 16:30:47 -07:00
  • c1d32167dc Use dot syntax to bind type variables on instructions. Jakob Stoklund Olesen 2016-08-03 16:30:47 -07:00
  • 4987282bbb Add an Encoding meta-language class. Jakob Stoklund Olesen 2016-08-03 15:58:41 -07:00
  • 9cdf6edd62 Add an Encoding meta-language class. Jakob Stoklund Olesen 2016-08-03 15:58:41 -07:00
  • 66f14138bb Add an EncRecipe meta-language class. Jakob Stoklund Olesen 2016-08-03 12:06:21 -07:00
  • d215b622e4 Add an EncRecipe meta-language class. Jakob Stoklund Olesen 2016-08-03 12:06:21 -07:00
  • eed6adb413 Add a CPUMode meta-language class. Jakob Stoklund Olesen 2016-08-03 11:20:13 -07:00
  • c4faef196e Add a CPUMode meta-language class. Jakob Stoklund Olesen 2016-08-03 11:20:13 -07:00
  • a67ec211a4 Document binary encodings. Jakob Stoklund Olesen 2016-07-29 14:50:19 -07:00
  • bd72439fbc Document binary encodings. Jakob Stoklund Olesen 2016-07-29 14:50:19 -07:00
  • 82a85961ff Add PrimaryEntityData marker trait. Jakob Stoklund Olesen 2016-08-01 14:45:59 -07:00
  • f5008567c9 Add PrimaryEntityData marker trait. Jakob Stoklund Olesen 2016-08-01 14:45:59 -07:00
  • 4c0b59a947 Merge branch 'master' of github.com:stoklund/cretonne into cfg-fix Morgan Phillips 2016-08-01 18:06:59 -07:00
  • 549a14bf96 Merge branch 'master' of github.com:stoklund/cretonne into cfg-fix Morgan Phillips 2016-08-01 18:06:59 -07:00
  • 283f3ea48e Remove uses of EntityMap::len. Morgan Phillips 2016-08-01 18:04:25 -07:00
  • 80abf8b1f0 Remove uses of EntityMap::len. Morgan Phillips 2016-08-01 18:04:25 -07:00
  • 11f65fff20 Remove the cfg::predecessors_iter() method and iterator. Jakob Stoklund Olesen 2016-08-01 15:14:32 -07:00
  • 2c1e80b0e0 Remove the cfg::predecessors_iter() method and iterator. Jakob Stoklund Olesen 2016-08-01 15:14:32 -07:00
  • bf24ae229c Print CFG edges from func.layout instead of cfg.predecessors_iter. Jakob Stoklund Olesen 2016-08-01 15:03:56 -07:00
  • 02c1bb8f2c Print CFG edges from func.layout instead of cfg.predecessors_iter. Jakob Stoklund Olesen 2016-08-01 15:03:56 -07:00
  • e22efd2748 Improve the structure and comments of the module. Morgan Phillips 2016-08-01 15:00:08 -07:00
  • e9cfcf4f78 Improve the structure and comments of the module. Morgan Phillips 2016-08-01 15:00:08 -07:00
  • f2e9c88b45 Remove println\! Morgan Phillips 2016-08-01 12:15:08 -07:00
  • 5a38ca2db7 Remove println\! Morgan Phillips 2016-08-01 12:15:08 -07:00
  • 967a7c64d4 Add a dominator tree implementation. Morgan Phillips 2016-07-31 21:40:11 -07:00
  • 19a47d57b3 Add a dominator tree implementation. Morgan Phillips 2016-07-31 21:40:11 -07:00
  • a8beb542a5 Clean up the CFG representation. Morgan Phillips 2016-07-31 21:31:18 -07:00
  • 0ce01c1b8d Clean up the CFG representation. Morgan Phillips 2016-07-31 21:31:18 -07:00
  • dae349371f Add EntityMap::with_capacity. Jakob Stoklund Olesen 2016-07-29 15:59:09 -07:00
  • bbdae39cb9 Add EntityMap::with_capacity. Jakob Stoklund Olesen 2016-07-29 15:59:09 -07:00
  • 0ef28f5bde Use sub-shells instead of pushd / popd. Jakob Stoklund Olesen 2016-07-29 12:35:56 -07:00
  • 14027660c5 Use sub-shells instead of pushd / popd. Jakob Stoklund Olesen 2016-07-29 12:35:56 -07:00
  • 2f07a3b675 Remove innacurate comments. Morgan Phillips 2016-07-28 17:51:50 -07:00
  • a9748dff02 Remove innacurate comments. Morgan Phillips 2016-07-28 17:51:50 -07:00
  • 7abb532fd6 Merge branch 'master' of github.com:stoklund/cretonne into bleh Morgan Phillips 2016-07-28 17:49:48 -07:00
  • 858d756631 Merge branch 'master' of github.com:stoklund/cretonne into bleh Morgan Phillips 2016-07-28 17:49:48 -07:00
  • 7936444e1f Simplify the reverse_postorder_ebbs implementation. Morgan Phillips 2016-07-28 17:49:25 -07:00
  • 82ff64820c Simplify the reverse_postorder_ebbs implementation. Morgan Phillips 2016-07-28 17:49:25 -07:00
  • 0e046dcbcb Documentation typos. Jakob Stoklund Olesen 2016-07-27 16:10:02 -07:00
  • ad79ad753d Documentation typos. Jakob Stoklund Olesen 2016-07-27 16:10:02 -07:00
  • 1027fc7472 Avoid cloning levels Morgan Phillips 2016-07-26 17:13:11 -07:00
  • e94d7c2a99 Avoid cloning levels Morgan Phillips 2016-07-26 17:13:11 -07:00
  • b67d07e87a Give the test module a more apt name. Morgan Phillips 2016-07-26 12:07:18 -07:00
  • 1cd6e35a42 Give the test module a more apt name. Morgan Phillips 2016-07-26 12:07:18 -07:00
  • a9842ff363 Fix broken reverse_postorder_ebbs implementation. Morgan Phillips 2016-07-26 02:54:42 -07:00
  • 42b9835363 Fix broken reverse_postorder_ebbs implementation. Morgan Phillips 2016-07-26 02:54:42 -07:00
  • 9e19326c30 Fix the test-all script so that it works with directories Morgan Phillips 2016-07-25 19:19:46 -07:00
  • 71bf589af3 Fix the test-all script so that it works with directories Morgan Phillips 2016-07-25 19:19:46 -07:00
  • 1f0e344b24 Cargo-fmt and cleanup. Morgan Phillips 2016-07-25 18:50:50 -07:00
  • 400504d321 Cargo-fmt and cleanup. Morgan Phillips 2016-07-25 18:50:50 -07:00
  • d137529bd5 Use cton_reader to simplify cfg traversal tests. Morgan Phillips 2016-07-25 18:49:39 -07:00
  • 63b58214f7 Use cton_reader to simplify cfg traversal tests. Morgan Phillips 2016-07-25 18:49:39 -07:00
  • 26c350833a Change variable name to something more descriptive. Morgan Phillips 2016-07-25 01:05:15 -07:00
  • bb7ecc8753 Change variable name to something more descriptive. Morgan Phillips 2016-07-25 01:05:15 -07:00
  • aa730ec2c4 make postorder_ebbs into actually reverse_postorder_ebbs. Morgan Phillips 2016-07-25 00:41:34 -07:00
  • 91ced8df90 make postorder_ebbs into actually reverse_postorder_ebbs. Morgan Phillips 2016-07-25 00:41:34 -07:00
  • 8d93fe9685 Add an analyze_branch method to InstructionData. Jakob Stoklund Olesen 2016-07-22 15:38:53 -07:00
  • ae98edf8cc Add an analyze_branch method to InstructionData. Jakob Stoklund Olesen 2016-07-22 15:38:53 -07:00
  • 28a5f007c4 Parse the BranchTable instruction format. Jakob Stoklund Olesen 2016-07-22 15:16:14 -07:00
  • 20fc675fc0 Parse the BranchTable instruction format. Jakob Stoklund Olesen 2016-07-22 15:16:14 -07:00
  • f054d32f50 Implement jump tables. Jakob Stoklund Olesen 2016-07-22 11:41:30 -07:00
  • 274671d12a Implement jump tables. Jakob Stoklund Olesen 2016-07-22 11:41:30 -07:00
  • ba76f444ab Add a keys() iterator to EntityMap. Jakob Stoklund Olesen 2016-07-22 14:10:39 -07:00
  • 410c1390d1 Add a keys() iterator to EntityMap. Jakob Stoklund Olesen 2016-07-22 14:10:39 -07:00
  • 8296e92ddc Move entry_block() into Layout. Jakob Stoklund Olesen 2016-07-22 10:06:51 -07:00
  • f116f03327 Move entry_block() into Layout. Jakob Stoklund Olesen 2016-07-22 10:06:51 -07:00