Commit Graph

  • e6ebb222bf Add truncation for f32 and f64 Rerumu 2022-06-27 20:24:01 -04:00
  • 5463b48e63 Add min and max for f32 and f64 Rerumu 2022-06-27 20:18:55 -04:00
  • b8362d9e66 Add i32 sign extension Rerumu 2022-06-27 19:57:31 -04:00
  • 2363811773 Reorder and rename for consistency Rerumu 2022-06-27 19:55:25 -04:00
  • 64ddfd03f9 Remove empty array declarations Rerumu 2022-06-26 04:18:15 -04:00
  • 901b062a41 Bump test dependencies Rerumu 2022-06-26 03:50:11 -04:00
  • 201f0b286f Expand inlineable runtime functions Rerumu 2022-06-26 03:40:28 -04:00
  • 75582f40bf Reorganize runtimes Rerumu 2022-06-26 03:18:53 -04:00
  • 76eb363d35 Fix nearest f32 and f64 Rerumu 2022-06-26 03:18:09 -04:00
  • 22d447395b Fix i64 division on zero shortcut Rerumu 2022-06-26 02:41:36 -04:00
  • ec20ac5482 Fix i64 sign check Rerumu 2022-06-26 02:28:14 -04:00
  • 5d4aa97cd5 Fix signed i32 remainder Rerumu 2022-06-26 01:51:52 -04:00
  • 62f41eac17 Fix i32 bit shifting Rerumu 2022-06-26 01:51:37 -04:00
  • c3d8f4a357 Fix i64 bit shifting Rerumu 2022-06-26 01:33:52 -04:00
  • 4e10ed9d93 Fix signed i64 memory Rerumu 2022-06-26 01:28:16 -04:00
  • 34dbd6b018 Rename variables for consistency Rerumu 2022-06-26 01:22:14 -04:00
  • 2ad52aa6b1 Fix i64 printing in tests Rerumu 2022-06-26 01:00:07 -04:00
  • c462a4472f Make use of bit32 more consistent Rerumu 2022-06-26 00:32:42 -04:00
  • 43aba1185a Fix i32 multiplication Rerumu 2022-06-26 00:28:03 -04:00
  • f5bd86ccef Specify pack order when needed Rerumu 2022-06-25 22:55:11 -04:00
  • c19430548b Localize truncation Rerumu 2022-06-25 22:52:22 -04:00
  • efc5c9354f Fix copysign Rerumu 2022-06-25 22:51:45 -04:00
  • 27c05550e4 Fix i64 generation for globals and elements Rerumu 2022-06-25 22:19:26 -04:00
  • 00cbe2df6c Fix out of memory return Rerumu 2022-06-25 21:52:06 -04:00
  • 5bdbb9c396 Add missing Luau memory operations Rerumu 2022-06-25 21:43:41 -04:00
  • 96482310c5 Add memory traps in tests Rerumu 2022-06-25 20:34:07 -04:00
  • 7aefbc3a2e Fix #14 Rerumu 2022-06-25 17:41:03 -04:00
  • a0354816cf Reorder function debug names Rerumu 2022-06-25 16:32:46 -04:00
  • 975fd9c8b9 Remove test exception for binary-leb128 Rerumu 2022-06-25 05:47:19 -04:00
  • 8ec8b58a38 Fix function typing regression Rerumu 2022-06-25 15:48:06 -04:00
  • fd1fb13f02 Bump crate versions Rerumu 2022-06-25 05:34:23 -04:00
  • 2677313941 Fix #15 Rerumu 2022-06-25 05:23:29 -04:00
  • b31e92e3d6 Small style and branching edits Rerumu 2022-06-25 05:21:21 -04:00
  • 5b61f742f4 Add f32 and f64 distinction Rerumu 2022-06-25 04:30:06 -04:00
  • 951ee169a2 Style touch ups Rerumu 2022-06-25 03:52:03 -04:00
  • 0f96d430b6 Minor rename and changes Rerumu 2022-06-25 03:31:40 -04:00
  • 21ca23b088 Remove old comments Rerumu 2022-06-25 03:14:58 -04:00
  • 273da80284 Refactor test setup to use wasmparser Rerumu 2022-06-25 03:08:58 -04:00
  • 40c985e7e2 Refactor Luau codegen to use wasmparser Rerumu 2022-06-25 03:07:04 -04:00
  • c52170ba6e Refactor LuaJIT codegen to use wasmparser Rerumu 2022-06-25 02:00:39 -04:00
  • 9f8cf3814b Refactor wasm-ast to use wasmparser Rerumu 2022-06-24 16:55:38 -04:00
  • 6338e29ebb Bump crate versions Rerumu 2022-06-23 21:08:14 -04:00
  • c226d14569 Allow valueless constants Rerumu 2022-06-23 20:59:43 -04:00
  • 3baeb1df59 Add new README Rerumu 2022-06-23 20:47:23 -04:00
  • d20237e1fe Add new binaries to workflow Rerumu 2022-06-23 20:53:20 -04:00
  • 223895e617 Restructure and compartmentalize the project Rerumu 2022-06-23 20:14:04 -04:00
  • 59a5a3219f Reduce severity of assert_trap failures Rerumu 2022-06-23 16:36:38 -04:00
  • 2c6176d538 Refactor symbol usage into AsSymbol Rerumu 2022-06-23 16:15:25 -04:00
  • 9db21cc84b Encapsulate nodes Rerumu 2022-06-23 16:03:13 -04:00
  • b282bdf490 Fix #8, as BrTables have better codegen Rerumu 2022-06-23 00:27:14 -04:00
  • 8169080779 Unify local and memory finding step Rerumu 2022-06-22 15:19:38 -04:00
  • 3b0eb59f50 Escape data strings only where needed Rerumu 2022-06-21 14:27:36 -04:00
  • a4f06afae2 Fix underlying cause of #13 Rerumu 2022-06-20 14:19:15 -04:00
  • 14e5f0e17d Fix #11 Rerumu 2022-06-20 14:10:25 -04:00
  • 8b16df34f8 Merge #10 Rerumu 2022-07-04 04:21:34 -04:00
  • 6116fea2e3 Merge #9 Rerumu 2022-07-04 04:19:43 -04:00
  • a1655e1c0b Bump crate versions Rerumu 2022-06-19 07:47:00 -04:00
  • 5575256476 Reduce size of data section generation Rerumu 2022-06-19 05:49:27 -04:00
  • 508ea07aca Rename allocator.init to store.string Rerumu 2022-06-19 05:38:47 -04:00
  • 2f7d7b564c Improve call stack leak behavior Rerumu 2022-06-19 05:10:12 -04:00
  • 5f47092a65 Refactor stack leak code Rerumu 2022-06-19 05:08:11 -04:00
  • bc64734add Finally fix #7 Rerumu 2022-06-18 00:59:07 -04:00
  • cc0920b573 Refactor and fix post call stack Rerumu 2022-06-17 22:43:09 -04:00
  • 34311bd0fb Allow Builder re-use Rerumu 2022-06-17 22:11:31 -04:00
  • 2fae09e149 Fix minor order peeve Rerumu 2022-06-17 22:05:57 -04:00
  • f52033036a Re-classify MemoryGrow as a Statement Rerumu 2022-06-17 21:48:23 -04:00
  • 0e23793d72 Add accessors for various stack operations Rerumu 2022-06-17 21:33:04 -04:00
  • b3c931a38e Add comprehensive stack use analysis Rerumu 2022-06-17 21:14:40 -04:00
  • 684f2d9ad7 Fix LuaJIT assertion code mistake Rerumu 2022-06-17 15:30:26 -04:00
  • ce49e40d26 Fix branching and branch state Rerumu 2022-06-16 17:52:07 -04:00
  • 0c87c61e01 Add some missing memory functions Rerumu 2022-06-16 19:54:18 -04:00
  • 99e74e7ea1 Fix software integer instantiation Rerumu 2022-06-16 16:09:21 -04:00
  • 1939fbb248 Fix zero local count Rerumu 2022-06-16 14:54:20 -04:00
  • 9ca2c60021 Fix function name translation offset Rerumu 2022-06-16 14:06:48 -04:00
  • e956b3a790 Allow non-observer test cases to run Rerumu 2022-06-16 14:55:05 -04:00
  • 47d755a570 Set up test code per version Rerumu 2022-06-16 16:30:45 -04:00
  • 13d719ac06 Add spectest environment Rerumu 2022-06-16 07:22:31 -04:00
  • fc105553db Omit generating some boilerplate Rerumu 2022-06-16 06:08:38 -04:00
  • c8e3777f1c Add back skipped float test cases Rerumu 2022-06-16 05:41:01 -04:00
  • a7f30b8157 Fix stack size heuristic overshooting Rerumu 2022-06-16 05:37:02 -04:00
  • c756b4bc6d Skip Wat variants for assert_trap Rerumu 2022-06-16 05:24:35 -04:00
  • 8a92d8f9b6 Fix test module linking Rerumu 2022-06-16 05:14:49 -04:00
  • 9482438360 Add proper sign extension for integers Rerumu 2022-06-16 04:28:39 -04:00
  • d654186234 Add population operations to runtime Rerumu 2022-06-16 04:17:14 -04:00
  • c5f7e386c2 Fix signed remainder assumption Rerumu 2022-06-16 04:08:52 -04:00
  • 860fef391f Fix float writing Rerumu 2022-06-16 02:28:07 -04:00
  • 2db51b9b00 Fix realloc failing on no-op Rerumu 2022-06-16 01:56:42 -04:00
  • 9a2b52fde5 Fix memory size leaking behavior Rerumu 2022-06-16 01:47:22 -04:00
  • 5037ab1ff8 Fix i32 multiplication Rerumu 2022-06-16 01:20:30 -04:00
  • bc6ac45059 Fix copysign Rerumu 2022-06-16 00:44:12 -04:00
  • e6f1f7469f Fix test NaN sign Rerumu 2022-06-16 00:39:02 -04:00
  • 46c1dcd21f Make test number comparisons real fuzzy Rerumu 2022-06-15 20:57:14 -04:00
  • 65cd89c6d7 Fix test number generation Rerumu 2022-06-15 19:10:06 -04:00
  • 987a19ed8e Make clippy happy Rerumu 2022-06-15 02:46:55 -04:00
  • 08004a9782 Remove unneeded top level result handling Rerumu 2022-06-15 02:44:28 -04:00
  • 941bb4842b Fix branching out of loops and improve tracking Rerumu 2022-06-15 02:34:02 -04:00
  • a6cf4fdf07 Fix alignment when branching Rerumu 2022-06-13 22:22:08 -04:00
  • 20b888bfa0 Compartmentalize tests Rerumu 2022-06-12 19:55:42 -04:00
  • e9c48f6cec Remove unused label variant Rerumu 2022-06-12 04:39:19 -04:00
  • c15a4b3ec7 Fix unreachable code heuristic for conditionals Rerumu 2022-06-12 04:38:28 -04:00