Commit Graph

  • 177ac85db5 Add a LAyout Cursor data structure. Jakob Stoklund Olesen 2016-10-13 14:36:34 -07:00
  • d650d30b88 Add a LAyout Cursor data structure. Jakob Stoklund Olesen 2016-10-13 14:36:34 -07:00
  • 6ce6f25626 Generate a Builder data type. WIP. Jakob Stoklund Olesen 2016-10-12 10:51:05 -07:00
  • 8ca970ba5c Generate a Builder data type. WIP. Jakob Stoklund Olesen 2016-10-12 10:51:05 -07:00
  • 93f79d7a48 Move second_result outside boxed storage. Jakob Stoklund Olesen 2016-10-12 16:01:06 -07:00
  • 5a2f8cbdf8 Move second_result outside boxed storage. Jakob Stoklund Olesen 2016-10-12 16:01:06 -07:00
  • 3ff28ed064 Capture the Rust type used to represent an operand kind. Jakob Stoklund Olesen 2016-10-12 15:34:50 -07:00
  • f78baf9c0b Capture the Rust type used to represent an operand kind. Jakob Stoklund Olesen 2016-10-12 15:34:50 -07:00
  • cf8d628254 Add simple Uimm8 and ImmVector immediate types. Jakob Stoklund Olesen 2016-10-12 15:24:59 -07:00
  • b8a537bb13 Add simple Uimm8 and ImmVector immediate types. Jakob Stoklund Olesen 2016-10-12 15:24:59 -07:00
  • e35811e120 Add FuncRef and SigRef entity references. Jakob Stoklund Olesen 2016-10-12 14:15:29 -07:00
  • 7cf25a073b Add FuncRef and SigRef entity references. Jakob Stoklund Olesen 2016-10-12 14:15:29 -07:00
  • 75406ad5be Move signatures into new ir::extfunc module. Jakob Stoklund Olesen 2016-10-12 13:35:18 -07:00
  • b42d85ae24 Move signatures into new ir::extfunc module. Jakob Stoklund Olesen 2016-10-12 13:35:18 -07:00
  • e5080fb64e Use 'varargs' consistently for VariableArgs members. Jakob Stoklund Olesen 2016-10-12 10:07:00 -07:00
  • b258644d07 Use 'varargs' consistently for VariableArgs members. Jakob Stoklund Olesen 2016-10-12 10:07:00 -07:00
  • eeb6fe0983 Track InstructionData member names. Jakob Stoklund Olesen 2016-10-12 09:48:52 -07:00
  • 2372486ec5 Track InstructionData member names. Jakob Stoklund Olesen 2016-10-12 09:48:52 -07:00
  • 6158b7449a Upgrade to rustfmt 0.6.2 Jakob Stoklund Olesen 2016-10-12 13:41:27 -07:00
  • 02eae6afd0 Upgrade to rustfmt 0.6.2 Jakob Stoklund Olesen 2016-10-12 13:41:27 -07:00
  • 6b784dd8dc Create a phantom workspace manifest for all crates. Jakob Stoklund Olesen 2016-10-10 10:44:33 -07:00
  • 67abb2d2f6 Create a phantom workspace manifest for all crates. Jakob Stoklund Olesen 2016-10-10 10:44:33 -07:00
  • 3207e60795 Add legalization patterns. Jakob Stoklund Olesen 2016-09-27 07:59:47 -07:00
  • a460a637dd Add legalization patterns. Jakob Stoklund Olesen 2016-09-27 07:59:47 -07:00
  • 620f46202f Define AST nodes and instruction transformations. Jakob Stoklund Olesen 2016-09-22 12:59:31 -07:00
  • 7c91bacafe Define AST nodes and instruction transformations. Jakob Stoklund Olesen 2016-09-22 12:59:31 -07:00
  • 4db11d1ae7 Add legalization helper instructions. Jakob Stoklund Olesen 2016-09-27 16:22:32 -07:00
  • 29c449f117 Add legalization helper instructions. Jakob Stoklund Olesen 2016-09-27 16:22:32 -07:00
  • 2a4aaa3da1 Expand OpcodeConstraints to 32 bits. Jakob Stoklund Olesen 2016-09-27 16:09:26 -07:00
  • 2a2871e739 Expand OpcodeConstraints to 32 bits. Jakob Stoklund Olesen 2016-09-27 16:09:26 -07:00
  • d256c46f60 Add HalfWidth and DoubleWidth type variable functions. Jakob Stoklund Olesen 2016-09-27 15:39:54 -07:00
  • 60b2257331 Add HalfWidth and DoubleWidth type variable functions. Jakob Stoklund Olesen 2016-09-27 15:39:54 -07:00
  • a14bb077ee In-place intersection of type sets. Jakob Stoklund Olesen 2016-09-27 14:53:37 -07:00
  • 65caf2d9a1 In-place intersection of type sets. Jakob Stoklund Olesen 2016-09-27 14:53:37 -07:00
  • f66a6b3509 Add some Python tests for TypeSet. Jakob Stoklund Olesen 2016-09-27 14:36:02 -07:00
  • 470507dd9b Add some Python tests for TypeSet. Jakob Stoklund Olesen 2016-09-27 14:36:02 -07:00
  • efa1b8a9ec Run Python unittests and doctests. Jakob Stoklund Olesen 2016-09-27 13:45:05 -07:00
  • d7e9d4dade Run Python unittests and doctests. Jakob Stoklund Olesen 2016-09-27 13:45:05 -07:00
  • a616a46db7 Represent type sets with ranges. Jakob Stoklund Olesen 2016-09-27 13:31:31 -07:00
  • d45b011fa2 Represent type sets with ranges. Jakob Stoklund Olesen 2016-09-27 13:31:31 -07:00
  • 8cbaacac48 Move TypeVar and TypeSet into their own Python package. Jakob Stoklund Olesen 2016-09-27 10:53:53 -07:00
  • b06668aa8a Move TypeVar and TypeSet into their own Python package. Jakob Stoklund Olesen 2016-09-27 10:53:53 -07:00
  • 6f243ab35d Add documentation links to all existing instructions. Jakob Stoklund Olesen 2016-09-23 16:49:35 -07:00
  • d915718526 Add documentation links to all existing instructions. Jakob Stoklund Olesen 2016-09-23 16:49:35 -07:00
  • 6d3883cf78 Add an autoinstgroup Sphinx directive. Jakob Stoklund Olesen 2016-09-23 16:41:14 -07:00
  • 686aa4ec1d Add an autoinstgroup Sphinx directive. Jakob Stoklund Olesen 2016-09-23 16:41:14 -07:00
  • f34da59bab Integer subtraction with borrow flags. Jakob Stoklund Olesen 2016-09-23 15:47:39 -07:00
  • f66d84fd95 Integer subtraction with borrow flags. Jakob Stoklund Olesen 2016-09-23 15:47:39 -07:00
  • b1bd3140db Integer add with carry instructions. Jakob Stoklund Olesen 2016-09-23 13:32:26 -07:00
  • 9cb3451432 Integer add with carry instructions. Jakob Stoklund Olesen 2016-09-23 13:32:26 -07:00
  • acf41a7c09 Add a Cretonne testing guide. Jakob Stoklund Olesen 2016-09-23 09:38:17 -07:00
  • 7ec54a5a01 Add a Cretonne testing guide. Jakob Stoklund Olesen 2016-09-23 09:38:17 -07:00
  • 5112ddc13d Basic *.cton syntax mode for Vim. Jakob Stoklund Olesen 2016-09-22 14:07:31 -07:00
  • 0dd16a360d Basic *.cton syntax mode for Vim. Jakob Stoklund Olesen 2016-09-22 14:07:31 -07:00
  • 51bcc78cea Add a 'test legaliser' filetest command. Jakob Stoklund Olesen 2016-09-21 13:32:46 -07:00
  • 65f69fb088 Add a 'test legaliser' filetest command. Jakob Stoklund Olesen 2016-09-21 13:32:46 -07:00
  • ce0da25ce0 Write out encoding annotations on instructions. Jakob Stoklund Olesen 2016-09-21 17:21:13 -07:00
  • 6a71613d92 Write out encoding annotations on instructions. Jakob Stoklund Olesen 2016-09-21 17:21:13 -07:00
  • 2ec50203fb Print encodings as [R#10c] instead of [R/10c]. Jakob Stoklund Olesen 2016-09-21 16:57:08 -07:00
  • ea901653da Print encodings as [R#10c] instead of [R/10c]. Jakob Stoklund Olesen 2016-09-21 16:57:08 -07:00
  • 4e09b48dd4 Expose Vec::get() in EntityMap. Jakob Stoklund Olesen 2016-09-21 16:53:03 -07:00
  • 1c4eb44ef7 Expose Vec::get() in EntityMap. Jakob Stoklund Olesen 2016-09-21 16:53:03 -07:00
  • 16dba4d35b Pass flags and target ISAs to filetests. Jakob Stoklund Olesen 2016-09-21 12:12:11 -07:00
  • 7587a51bd7 Pass flags and target ISAs to filetests. Jakob Stoklund Olesen 2016-09-21 12:12:11 -07:00
  • e4a8932962 Parse ISA specifications between test commands and functions. Jakob Stoklund Olesen 2016-09-20 13:38:36 -07:00
  • 36b143df99 Parse ISA specifications between test commands and functions. Jakob Stoklund Olesen 2016-09-20 13:38:36 -07:00
  • 8a764cba3f Allow settings::Builder to be reused. Jakob Stoklund Olesen 2016-09-20 16:09:45 -07:00
  • 83adf341ec Allow settings::Builder to be reused. Jakob Stoklund Olesen 2016-09-20 16:09:45 -07:00
  • a078f6a6b0 Share split_entity_name between lexer and sourcemap. Jakob Stoklund Olesen 2016-09-20 13:20:33 -07:00
  • 26332f6f91 Share split_entity_name between lexer and sourcemap. Jakob Stoklund Olesen 2016-09-20 13:20:33 -07:00
  • 5aa1db2e4f Don't have keywords in the lexer and parser. Jakob Stoklund Olesen 2016-09-20 12:57:29 -07:00
  • 64490a3587 Don't have keywords in the lexer and parser. Jakob Stoklund Olesen 2016-09-20 12:57:29 -07:00
  • de35e715fa Add a stub implementation of the legalizer. Jakob Stoklund Olesen 2016-09-20 10:49:30 -07:00
  • fab16941c8 Add a stub implementation of the legalizer. Jakob Stoklund Olesen 2016-09-20 10:49:30 -07:00
  • ebadbdbe7e Store instruction encodings in Function. Jakob Stoklund Olesen 2016-09-20 10:17:16 -07:00
  • 1d0ab91136 Store instruction encodings in Function. Jakob Stoklund Olesen 2016-09-20 10:17:16 -07:00
  • 7417f884b3 Add clear, is_empty, and resize methods to EntityMap. Jakob Stoklund Olesen 2016-09-20 09:48:00 -07:00
  • 57b6967ddd Add clear, is_empty, and resize methods to EntityMap. Jakob Stoklund Olesen 2016-09-20 09:48:00 -07:00
  • 388154e06b Wrap FunctionName in a newtype struct. Jakob Stoklund Olesen 2016-09-19 14:52:48 -07:00
  • af29fee5d2 Wrap FunctionName in a newtype struct. Jakob Stoklund Olesen 2016-09-19 14:52:48 -07:00
  • 6fb566fa85 Add a TargetIsa::display_enc() method. Jakob Stoklund Olesen 2016-09-19 13:45:22 -07:00
  • 43aa6f66d9 Add a TargetIsa::display_enc() method. Jakob Stoklund Olesen 2016-09-19 13:45:22 -07:00
  • fb1bc5d096 Move 'Encoding' into its own module. Jakob Stoklund Olesen 2016-09-19 13:07:58 -07:00
  • 59c404ed29 Move 'Encoding' into its own module. Jakob Stoklund Olesen 2016-09-19 13:07:58 -07:00
  • b5ffd3af92 Rename 'encoding' modules to 'enc_tables'. Jakob Stoklund Olesen 2016-09-19 13:00:16 -07:00
  • ce6a463267 Rename 'encoding' modules to 'enc_tables'. Jakob Stoklund Olesen 2016-09-19 13:00:16 -07:00
  • 047bf5ab28 Remove the inst_locs vector in the parser. Jakob Stoklund Olesen 2016-09-19 11:42:56 -07:00
  • 622006ecc5 Remove the inst_locs vector in the parser. Jakob Stoklund Olesen 2016-09-19 11:42:56 -07:00
  • 1a73b4f3f2 Also record locations for tracked entities. Jakob Stoklund Olesen 2016-09-19 11:29:55 -07:00
  • d0f9f92317 Also record locations for tracked entities. Jakob Stoklund Olesen 2016-09-19 11:29:55 -07:00
  • b5514748a4 Add an internal MutableSourceMap trait. Jakob Stoklund Olesen 2016-09-19 11:11:30 -07:00
  • dd8e7df8ba Add an internal MutableSourceMap trait. Jakob Stoklund Olesen 2016-09-19 11:11:30 -07:00
  • ac46de7200 Extract Result and Error into their own module. Jakob Stoklund Olesen 2016-09-19 10:08:21 -07:00
  • feef2ecf3f Extract Result and Error into their own module. Jakob Stoklund Olesen 2016-09-19 10:08:21 -07:00
  • b5828cb9a3 Print out a report of slow-running tests. Jakob Stoklund Olesen 2016-09-18 11:35:10 -07:00
  • 17c2b5213a Print out a report of slow-running tests. Jakob Stoklund Olesen 2016-09-18 11:35:10 -07:00
  • 67c8ae7f14 Add --verbose flag to cton-util test. Jakob Stoklund Olesen 2016-09-17 17:11:17 -07:00
  • 5cb5110330 Add --verbose flag to cton-util test. Jakob Stoklund Olesen 2016-09-17 17:11:17 -07:00
  • 23887358dd Simplify with unwrap_or_else(). Jakob Stoklund Olesen 2016-09-17 12:36:35 -07:00
  • b1468ee0bc Simplify with unwrap_or_else(). Jakob Stoklund Olesen 2016-09-17 12:36:35 -07:00