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
|
4cb2a2b793
|
FunctionCx: Fix field usage in inline_asm and vtable modules
|
2020-08-22 16:14:33 +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 |
|
CohenArthur
|
5a59c24eee
|
FunctionCx: Store reference to CodegenCx instead
|
2020-08-22 15:18:10 +02:00 |
|
CohenArthur
|
a1fc2eb00d
|
linkage: Change linkage to hidden on non-exported symbols
|
2020-08-22 13:43:47 +02:00 |
|
CohenArthur
|
2a14fb7bf2
|
jit: Add NULL as terminating argv
|
2020-08-22 11:24:02 +02:00 |
|
bjorn3
|
e64f523b27
|
Evaluate all mir.required_consts and report any errors
Fixes #981
|
2020-08-20 16:51:36 +02:00 |
|
bjorn3
|
ca9fc101c0
|
Fix weak linkage
This removes the last sysroot patch apart from the few patches that disable tests
|
2020-08-20 15:24:33 +02:00 |
|
bjorn3
|
7752718e5b
|
Update target_feature_whitelist
|
2020-08-19 18:52:56 +02:00 |
|
bjorn3
|
f0069dac00
|
Fix panic in when debug assertions are enabled
|
2020-08-16 20:55:22 +02:00 |
|
bjorn3
|
4757371aba
|
Fix ambiguity between object and cranelift_object::object
|
2020-08-16 11:48:46 +02:00 |
|
bjorn3
|
0703e98bf6
|
Remove cg_clif fake target feature
|
2020-08-15 21:04:33 +02:00 |
|
bjorn3
|
3d46a30469
|
Fix ppv-lite86 with simd enabled
This fixes older rand versions that enable the simd feature of ppv-lite86
|
2020-08-15 20:55:03 +02:00 |
|
bjorn3
|
c1a68b1386
|
Emulate the cpuid arch intrinsic
|
2020-08-15 19:08:19 +02:00 |
|
bjorn3
|
847cc7ab2a
|
Disable the inline asm support using a feature flag
|
2020-08-15 14:19:23 +02:00 |
|
bjorn3
|
8664ccc27f
|
Remove ArchiveConfig
|
2020-08-08 16:19:42 +02:00 |
|
bjorn3
|
240e178532
|
Don't panic on io errors
Fixes #920
|
2020-08-08 16:14:11 +02:00 |
|
bjorn3
|
3e4ddca409
|
Rustup to rustc 1.47.0-nightly (f9d422ea7 2020-08-04)
|
2020-08-05 13:55:27 +02:00 |
|
bjorn3
|
e02ffdf795
|
Use nehalem instead of haswell as target cpu
|
2020-07-25 16:15:42 +02:00 |
|
bjorn3
|
c1efc33941
|
Fix panic
|
2020-07-25 13:17:49 +02:00 |
|
bjorn3
|
e8f1c5c53a
|
Don't forbid i64x2 as simd type
|
2020-07-25 12:29:55 +02:00 |
|
bjorn3
|
67028cee51
|
Use PassMode::ByVal for Abi::Vector
|
2020-07-25 12:29:55 +02:00 |
|
bjorn3
|
08fc673190
|
Handle SIMD vectors in CPlace::place_field
|
2020-07-25 12:28:24 +02:00 |
|
bjorn3
|
abc99c6259
|
Allow storing SIMD vectors in SSA values
|
2020-07-25 12:16:41 +02:00 |
|
bjorn3
|
1b8df386aa
|
Fix -Zpolymorphize
|
2020-07-23 18:08:15 +02:00 |
|
bjorn3
|
95511cb3ee
|
Add unaligned_volatile_{load,store} intrinsics
|
2020-07-23 12:37:27 +02:00 |
|
bjorn3
|
3f2589acd9
|
Fix multiple inline asm blocks in the same function
|
2020-07-23 12:37:03 +02:00 |
|
bjorn3
|
1ffc3079b0
|
Rustup to rustc 1.47.0-nightly (bbebe7351 2020-07-22)
|
2020-07-23 12:13:22 +02:00 |
|
bjorn3
|
edc0a3470b
|
Implement simd_insert
|
2020-07-19 14:54:18 +02:00 |
|
bjorn3
|
0b211be054
|
Use SystemV abi for extern "sysv64" even on Windows
|
2020-07-19 14:45:58 +02:00 |
|
bjorn3
|
34823a7e4c
|
Rustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16)
|
2020-07-17 19:15:33 +02:00 |
|
bjorn3
|
942039b232
|
Pass ByRef values at fixed stack offset for extern "C"
This makes it possible to build proc macros using cg_clif
|
2020-07-17 12:41:01 +02:00 |
|
bjorn3
|
ccfd1b9334
|
Initialize the atomic mutex in a constructor for proc macros
|
2020-07-16 14:58:41 +02:00 |
|
bjorn3
|
748d516e0d
|
Use builtin ranlib instead of running external ranlib
This makes it possible to create rlibs for any target without installing
a toolchain for the target
Fixes #763
|
2020-07-15 16:28:21 +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
|
c9d5e7da58
|
Rustup to rustc 1.46.0-nightly (9d09331e0 2020-07-12)
|
2020-07-13 19:32:31 +02:00 |
|
bjorn3
|
726e329f46
|
Add basic inline asm support for x86_64
|
2020-07-10 21:34:26 +02:00 |
|
bjorn3
|
35701d8caa
|
Move global_asm into CodegenCx
|
2020-07-09 19:24:53 +02:00 |
|