bjorn3
|
a75f9bc3be
|
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
|
2021-02-01 10:11:46 +01:00 |
|
bjorn3
|
77f74ed070
|
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
|
2020-12-27 10:30:38 +01:00 |
|
bjorn3
|
d404840788
|
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
|
2020-11-27 20:48:53 +01:00 |
|
Bastian Kauschke
|
56e63805be
|
update cg_clif
|
2020-11-16 22:42:09 +01:00 |
|
oli
|
5fa1c8f91a
|
u128 truncation and sign extension are not just interpreter related
|
2020-11-04 13:41:58 +00:00 |
|
oli
|
7e8b15e050
|
Fix cranelift build
|
2020-11-04 10:10:44 +00:00 |
|
bjorn3
|
285c7c66dc
|
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01
|
2020-11-03 11:00:04 +01:00 |
|
bjorn3
|
a233646dfc
|
Rustup to rustc 1.49.0-nightly (e160e5cb8 2020-10-14)
|
2020-10-15 10:34:13 +02:00 |
|
bjorn3
|
0a5968dfd2
|
Use the new cranelift-module interface
This updates Cranelift to include bytecodealliance/wasmtime#2249
|
2020-10-08 19:00:21 +02:00 |
|
bjorn3
|
c0507a63fb
|
Invoke panic handler instead of trap for assert_* intrinsics
|
2020-09-29 13:22:01 +02:00 |
|
bjorn3
|
c8699076f9
|
Document almost all modules
Fixes #1082
|
2020-09-23 15:13:49 +02:00 |
|
bjorn3
|
bac3464757
|
Fix debug build
|
2020-09-21 14:56:19 +02:00 |
|
bjorn3
|
552991e17e
|
Replace FxHashMap with IndexVec for local_map
Fixes #745
|
2020-09-16 18:45:19 +02:00 |
|
bjorn3
|
51f816f2a7
|
Rustfmt
|
2020-09-16 16:58:58 +02:00 |
|
bjorn3
|
2d250ffa97
|
Fix miscompilation in previous commit
|
2020-09-14 11:44:53 +02:00 |
|
bjorn3
|
bb59d616aa
|
Use don't unroll loop in Rvalue::Repeat
Fixes #1081
|
2020-09-14 11:32:27 +02:00 |
|
bjorn3
|
9c6921b4b6
|
Fix typo
|
2020-09-14 10:32:37 +02:00 |
|
bjorn3
|
217b3818b7
|
Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)
|
2020-09-05 10:38:49 +02:00 |
|
bjorn3
|
3b0f3a0a1e
|
Optimize SwitchInt for bools
|
2020-08-30 13:15:53 +02:00 |
|
CohenArthur
|
4e685a512e
|
fmt: Run cargo fmt since it is available
|
2020-08-28 12:10:48 +02:00 |
|
bjorn3
|
5dec38e94c
|
Avoid temporary stack slot in drop codegen
cc #322
|
2020-08-25 18:32:16 +02:00 |
|
bjorn3
|
18348b1aec
|
Rustup to rustc 1.47.0-nightly (663d2f5cd 2020-08-22)
|
2020-08-23 11:50:51 +02:00 |
|
CohenArthur
|
7b994595da
|
trans_fn: Cleanup code
|
2020-08-22 19:05:22 +02:00 |
|
CohenArthur
|
05797b2476
|
trans_fn: Use replace() instead of new() + swap()
|
2020-08-22 19:03:35 +02:00 |
|
CohenArthur
|
d65e500394
|
FunctionCx: Swap context.func and empty function correctly
|
2020-08-22 18:53:34 +02:00 |
|
CohenArthur
|
0d1f8c802e
|
FunctionCx: Refactor fx.cx.tcx into fx.tcx
|
2020-08-22 16:47:31 +02:00 |
|
CohenArthur
|
5cf4577352
|
FunctionCx: Add tcx field for easier access
|
2020-08-22 16:45:50 +02:00 |
|
CohenArthur
|
ea29b1818f
|
FunctionCx: Fix FunctionCx initialization in trans_fn()
|
2020-08-22 16:40:58 +02:00 |
|
CohenArthur
|
7b534d653d
|
FunctionCx: Rename codegen_cx -> cx
|
2020-08-22 16:17:58 +02:00 |
|
CohenArthur
|
429e75fe40
|
FunctionCx: WIP: Remove more common fields from CodegenCx
|
2020-08-22 15:49:16 +02:00 |
|
CohenArthur
|
1a6365f95f
|
FunctionCx: WIP: Fix overzealous sed usage
|
2020-08-22 15:25:36 +02:00 |
|
CohenArthur
|
ad4a7a1f0c
|
FunctionCx: WIP: Fix syntax error on sed codegen_cx -> .codegen_cx
|
2020-08-22 15:21:38 +02:00 |
|
CohenArthur
|
d199b83b55
|
FunctionCx: WIP: Replace .constants with codegen_cx.constants
|
2020-08-22 15:19:48 +02:00 |
|
CohenArthur
|
cb69c7019c
|
FunctionCx: Replace .module with .codegen_cx.module
|
2020-08-22 15:19:09 +02:00 |
|
CohenArthur
|
297d65c247
|
FunctionCx: WIP: Replace .tcx with .codegen_cx.tcx
|
2020-08-22 15:18:39 +02:00 |
|
bjorn3
|
e64f523b27
|
Evaluate all mir.required_consts and report any errors
Fixes #981
|
2020-08-20 16:51:36 +02:00 |
|
bjorn3
|
c1a68b1386
|
Emulate the cpuid arch intrinsic
|
2020-08-15 19:08:19 +02:00 |
|
bjorn3
|
1b8df386aa
|
Fix -Zpolymorphize
|
2020-07-23 18:08:15 +02:00 |
|
bjorn3
|
3f2589acd9
|
Fix multiple inline asm blocks in the same function
|
2020-07-23 12:37:03 +02:00 |
|
bjorn3
|
34823a7e4c
|
Rustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16)
|
2020-07-17 19:15:33 +02:00 |
|
bjorn3
|
3e67eb1b44
|
Update Cranelift
Fixes #757 (through bytecodealliance/wasmtime#1939)
|
2020-07-14 21:14:14 +02:00 |
|
bjorn3
|
a0580610b2
|
Use From::from instead of as where possible
|
2020-07-14 16:38:50 +02:00 |
|
bjorn3
|
4ec2831ebc
|
No silent truncating of SwitchInt values
|
2020-07-13 19:45:46 +02:00 |
|
bjorn3
|
726e329f46
|
Add basic inline asm support for x86_64
|
2020-07-10 21:34:26 +02:00 |
|
bjorn3
|
21edec4ea5
|
Fix core::hint::black_box support
|
2020-07-03 16:39:36 +02:00 |
|
bjorn3
|
bf2ba15972
|
When casting enum to integer sign extend the discriminant if necessary
|
2020-06-30 18:59:58 +02:00 |
|
bjorn3
|
3227203fe6
|
Don't use a 1-to-1 mapping between mir local and cranelift_frontend variable
|
2020-06-27 14:29:28 +02:00 |
|
bjorn3
|
48d4bc2fb6
|
Rustup to rustc 1.46.0-nightly (7750c3d46 2020-06-26)
|
2020-06-27 11:29:39 +02:00 |
|
bjorn3
|
98c83d21f5
|
Remove leftover of removed hack
|
2020-06-24 11:54:11 +02:00 |
|
bjorn3
|
eb8fd197ab
|
Prelude cleanup
|
2020-06-20 18:44:49 +02:00 |
|