Commit Graph

  • 8a9b34411a Print the number of tests run. Jakob Stoklund Olesen 2016-09-15 17:28:09 -07:00
  • 5ac30b0075 Implement the 'test print-cfg' sub-test. Jakob Stoklund Olesen 2016-09-15 17:20:39 -07:00
  • 78a2e47d95 Implement the 'test print-cfg' sub-test. Jakob Stoklund Olesen 2016-09-15 17:20:39 -07:00
  • 1342a0fb71 Also use fmt::Write for the print-cfg command. Jakob Stoklund Olesen 2016-09-15 17:10:21 -07:00
  • 1ed8e1206d Also use fmt::Write for the print-cfg command. Jakob Stoklund Olesen 2016-09-15 17:10:21 -07:00
  • edc4fff50c Ignore test commands in parse_functions(). Jakob Stoklund Olesen 2016-09-15 16:07:00 -07:00
  • 5ade8dc36a Ignore test commands in parse_functions(). Jakob Stoklund Olesen 2016-09-15 16:07:00 -07:00
  • 086bd601a2 Convert parser tests to filetests. Jakob Stoklund Olesen 2016-09-15 15:27:37 -07:00
  • 0b7f87b14c Convert parser tests to filetests. Jakob Stoklund Olesen 2016-09-15 15:27:37 -07:00
  • 524bf15428 Add a SubTest trait and filecheck utilities. Jakob Stoklund Olesen 2016-09-15 08:17:50 -07:00
  • d221249e7f Add a SubTest trait and filecheck utilities. Jakob Stoklund Olesen 2016-09-15 08:17:50 -07:00
  • b40a3495fe Use fmt::Write instead of io::Write in write.rs. Jakob Stoklund Olesen 2016-09-15 13:56:42 -07:00
  • d16b57d540 Use fmt::Write instead of io::Write in write.rs. Jakob Stoklund Olesen 2016-09-15 13:56:42 -07:00
  • 0b8bf530b0 Make functions cloneable for testing. Jakob Stoklund Olesen 2016-09-15 08:41:19 -07:00
  • 6ffca9ec99 Make functions cloneable for testing. Jakob Stoklund Olesen 2016-09-15 08:41:19 -07:00
  • 7e98985ea6 Break DetailedFunction into a tuple. Jakob Stoklund Olesen 2016-09-15 08:32:03 -07:00
  • 2901a85a36 Break DetailedFunction into a tuple. Jakob Stoklund Olesen 2016-09-15 08:32:03 -07:00
  • 03170927dd Add a job queue and begin loading test files. Jakob Stoklund Olesen 2016-09-14 15:15:02 -07:00
  • a24ca56c0d Add a job queue and begin loading test files. Jakob Stoklund Olesen 2016-09-14 15:15:02 -07:00
  • 99c04383c8 Add a utility read_to_string() function. Jakob Stoklund Olesen 2016-09-14 13:14:43 -07:00
  • 480054a094 Add a utility read_to_string() function. Jakob Stoklund Olesen 2016-09-14 13:14:43 -07:00
  • ddadf2e7c1 Add scaffolding for a 'cton-util test' command. Jakob Stoklund Olesen 2016-09-14 12:20:41 -07:00
  • 4521afd474 Add scaffolding for a 'cton-util test' command. Jakob Stoklund Olesen 2016-09-14 12:20:41 -07:00
  • 538b773e6d Parse test commands in a .cton file. Jakob Stoklund Olesen 2016-09-14 09:10:32 -07:00
  • a544c0e171 Parse test commands in a .cton file. Jakob Stoklund Olesen 2016-09-14 09:10:32 -07:00
  • 21ad1d1e2d Add a public rest_of_line() function to lexer. Jakob Stoklund Olesen 2016-09-13 16:50:10 -07:00
  • 55a89c2167 Add a public rest_of_line() function to lexer. Jakob Stoklund Olesen 2016-09-13 16:50:10 -07:00
  • 4e3f0fc41d Collect comments while parsing functions. Jakob Stoklund Olesen 2016-09-13 16:15:42 -07:00
  • dedc44be69 Collect comments while parsing functions. Jakob Stoklund Olesen 2016-09-13 16:15:42 -07:00
  • 458ecebe8f Add a next_key() method to primary entity maps. Jakob Stoklund Olesen 2016-09-13 16:14:46 -07:00
  • 525c69bbe8 Add a next_key() method to primary entity maps. Jakob Stoklund Olesen 2016-09-13 16:14:46 -07:00
  • 1b6623f068 Add a representation of a parsed test case file. Jakob Stoklund Olesen 2016-09-13 12:18:36 -07:00
  • 4fd15f98ed Add a representation of a parsed test case file. Jakob Stoklund Olesen 2016-09-13 12:18:36 -07:00
  • fcec517fc5 Simplify the interface to cretonne-reader. Jakob Stoklund Olesen 2016-09-13 11:01:21 -07:00
  • 169a2f7542 Simplify the interface to cretonne-reader. Jakob Stoklund Olesen 2016-09-13 11:01:21 -07:00
  • c80934d084 Add a data structure representing a parsed test command. Jakob Stoklund Olesen 2016-09-13 10:51:15 -07:00
  • d0fb647357 Add a data structure representing a parsed test command. Jakob Stoklund Olesen 2016-09-13 10:51:15 -07:00
  • b14be8b14b Add an AnyEntity enum type. Jakob Stoklund Olesen 2016-09-12 14:14:41 -07:00
  • eeb8f5e4e4 Add an AnyEntity enum type. Jakob Stoklund Olesen 2016-09-12 14:14:41 -07:00
  • 1c5547970a Idiomatic impl of unordered_begin. Jakob Stoklund Olesen 2016-09-10 12:33:58 -07:00
  • 0eea144fef Idiomatic impl of unordered_begin. Jakob Stoklund Olesen 2016-09-10 12:33:58 -07:00
  • 38952eea00 Add an explainer mode to filecheck. Jakob Stoklund Olesen 2016-09-09 17:08:29 -07:00
  • 8483dc1085 Add an explainer mode to filecheck. Jakob Stoklund Olesen 2016-09-09 17:08:29 -07:00
  • 1ce5bc3509 pub Jakob Stoklund Olesen 2016-09-09 14:32:07 -07:00
  • b9d6ff2b51 pub Jakob Stoklund Olesen 2016-09-09 14:32:07 -07:00
  • d9cceb18d3 Add a MatchRange type alias. Jakob Stoklund Olesen 2016-09-09 14:11:56 -07:00
  • 7317775052 Add a MatchRange type alias. Jakob Stoklund Olesen 2016-09-09 14:11:56 -07:00
  • 9772398ae4 Convert the DFG tests to use filecheck. Jakob Stoklund Olesen 2016-09-09 11:09:54 -07:00
  • e41853cab0 Convert the DFG tests to use filecheck. Jakob Stoklund Olesen 2016-09-09 11:09:54 -07:00
  • 42cdebd508 Add a cton-util filecheck sub-command. Jakob Stoklund Olesen 2016-09-08 16:20:06 -07:00
  • c95c23dbbe Add a cton-util filecheck sub-command. Jakob Stoklund Olesen 2016-09-08 16:20:06 -07:00
  • 71b742ec34 Add a libfilecheck crate. Jakob Stoklund Olesen 2016-09-01 14:38:01 -07:00
  • 5b22634c8d Add a libfilecheck crate. Jakob Stoklund Olesen 2016-09-01 14:38:01 -07:00
  • d8712b2ce6 Add a verifier Morgan Phillips 2016-09-06 14:05:44 -07:00
  • de04d6d083 Add a verifier Morgan Phillips 2016-09-06 14:05:44 -07:00
  • 78a9e67a09 Emit ISA predicates in the encoding tables. Jakob Stoklund Olesen 2016-08-31 10:29:53 -07:00
  • 116b898da3 Emit ISA predicates in the encoding tables. Jakob Stoklund Olesen 2016-08-31 10:29:53 -07:00
  • de330402b8 Add casual string representation of named settings and predicates. Jakob Stoklund Olesen 2016-08-31 15:44:36 -07:00
  • f305f50829 Add casual string representation of named settings and predicates. Jakob Stoklund Olesen 2016-08-31 15:44:36 -07:00
  • 88c8e9a59a Move byte-vector layout into SettingGroup.layout(). Jakob Stoklund Olesen 2016-08-31 11:53:37 -07:00
  • 84b0a92326 Move byte-vector layout into SettingGroup.layout(). Jakob Stoklund Olesen 2016-08-31 11:53:37 -07:00
  • 036fa46b37 Fix typo in predicate combination. Jakob Stoklund Olesen 2016-08-31 08:48:31 -07:00
  • be8d486113 Fix typo in predicate combination. Jakob Stoklund Olesen 2016-08-31 08:48:31 -07:00
  • 997919c696 Add encodings for imul instructions to RISC-V. Jakob Stoklund Olesen 2016-08-30 15:03:32 -07:00
  • a1cbeb7f7a Add encodings for imul instructions to RISC-V. Jakob Stoklund Olesen 2016-08-30 15:03:32 -07:00
  • 09734f2033 Add controls for enabling M, F, and D RISC-V extensions. Jakob Stoklund Olesen 2016-08-30 15:10:38 -07:00
  • c1971db091 Add controls for enabling M, F, and D RISC-V extensions. Jakob Stoklund Olesen 2016-08-30 15:10:38 -07:00
  • 9944bcc928 Fix settings_size vs byte_size confusion in gen_settings.py. Jakob Stoklund Olesen 2016-08-30 15:27:35 -07:00
  • f18041b56c Fix settings_size vs byte_size confusion in gen_settings.py. Jakob Stoklund Olesen 2016-08-30 15:27:35 -07:00
  • cdac6d1c8e Add encoding tests for RV32. Jakob Stoklund Olesen 2016-08-30 14:54:18 -07:00
  • 74e731ed25 Add encoding tests for RV32. Jakob Stoklund Olesen 2016-08-30 14:54:18 -07:00
  • dddcc0b2ca Add an encoding test for RISC-V. Jakob Stoklund Olesen 2016-08-30 10:44:33 -07:00
  • 727510f97f Add an encoding test for RISC-V. Jakob Stoklund Olesen 2016-08-30 10:44:33 -07:00
  • 662e256e3f Generate a table of encoding recipe names for each ISA. Jakob Stoklund Olesen 2016-08-30 13:50:56 -07:00
  • 1c51285845 Generate a table of encoding recipe names for each ISA. Jakob Stoklund Olesen 2016-08-30 13:50:56 -07:00
  • 6fc6e35585 Upgrade to rustfmt 0.6.0. Jakob Stoklund Olesen 2016-08-30 07:56:12 -07:00
  • ba26ce2e98 Upgrade to rustfmt 0.6.0. Jakob Stoklund Olesen 2016-08-30 07:56:12 -07:00
  • fc6cb2eac1 Add an isa/encoding module. Jakob Stoklund Olesen 2016-08-29 14:00:26 -07:00
  • 38e2436074 Add an isa/encoding module. Jakob Stoklund Olesen 2016-08-29 14:00:26 -07:00
  • d67bba1e85 Split the Encoding data type into two u16 values. Jakob Stoklund Olesen 2016-08-29 16:31:16 -07:00
  • cdbea59269 Split the Encoding data type into two u16 values. Jakob Stoklund Olesen 2016-08-29 16:31:16 -07:00
  • 6145f4ca13 Add an is_64bit shared setting. Jakob Stoklund Olesen 2016-08-29 16:30:03 -07:00
  • d3faf5127e Add an is_64bit shared setting. Jakob Stoklund Olesen 2016-08-29 16:30:03 -07:00
  • dcf0b49b07 Add comments to the level2 hash tables concatenation. Jakob Stoklund Olesen 2016-08-29 08:43:33 -07:00
  • f816127dcc Add comments to the level2 hash tables concatenation. Jakob Stoklund Olesen 2016-08-29 08:43:33 -07:00
  • 0357ffe670 Require a specific rustfmt version in test-all script. Jakob Stoklund Olesen 2016-08-30 07:46:18 -07:00
  • ae8eb268ab Require a specific rustfmt version in test-all script. Jakob Stoklund Olesen 2016-08-30 07:46:18 -07:00
  • 26cd358bd4 Rustfmt fixes Morgan Phillips 2016-08-29 13:17:08 -07:00
  • 894d3796fb Rustfmt fixes Morgan Phillips 2016-08-29 13:17:08 -07:00
  • adde184042 Generate level 2 hashtables. Jakob Stoklund Olesen 2016-08-26 17:15:05 -07:00
  • 7476d996f6 Generate level 2 hashtables. Jakob Stoklund Olesen 2016-08-26 17:15:05 -07:00
  • a21935a5a2 Add 32-bit ops to RV64. Jakob Stoklund Olesen 2016-08-26 16:13:22 -07:00
  • 8a1f87d32e Add 32-bit ops to RV64. Jakob Stoklund Olesen 2016-08-26 16:13:22 -07:00
  • 0c8f251bee Emit encoding lists (WIP). Jakob Stoklund Olesen 2016-08-26 14:44:03 -07:00
  • 176427e220 Emit encoding lists (WIP). Jakob Stoklund Olesen 2016-08-26 14:44:03 -07:00
  • 6a8a4c43c2 Collect and number all active encoding recipes. Jakob Stoklund Olesen 2016-08-26 14:48:28 -07:00
  • a26673654f Collect and number all active encoding recipes. Jakob Stoklund Olesen 2016-08-26 14:48:28 -07:00
  • 15b5576d99 Generate type numbers at meta-time. Jakob Stoklund Olesen 2016-08-26 12:43:38 -07:00
  • 747dd508df Generate type numbers at meta-time. Jakob Stoklund Olesen 2016-08-26 12:43:38 -07:00
  • ea3396c2ff Add another dominator tree test case Morgan Phillips 2016-08-26 13:39:44 -07:00