Commit Graph

2019 Commits

Author SHA1 Message Date
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
bjorn3
42c41740d4
Merge pull request #1075 from CohenArthur/add-null-after-argv
jit: Add `NULL` as terminating argv
2020-08-22 11:38:03 +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
a80d6423e6
Merge pull request #1074 from bjorn3/fix_weak_linkage
Fix weak linkage
2020-08-20 16:01:42 +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
02b7cdc316 Update Cranelift and object 2020-08-20 15:21:26 +02:00
bjorn3
ee2addd010 Don't test x86_64 simd on archs other than x86_64 2020-08-20 13:22:07 +02:00
bjorn3
7752718e5b Update target_feature_whitelist 2020-08-19 18:52:56 +02:00
bjorn3
50cd72d590
Bump actions/cache to v2 2020-08-19 14:14:32 +02:00
bjorn3
03209e1e2d Don't disable incremental cache for cargo.sh
cc #1052
2020-08-19 14:07:54 +02:00
bjorn3
f4e22f0bff [gh actions] Remove actions-rs/cargo step
It is not very useful and increases compilation time, as the
CARGO_INCREMENTAL env var differs between it and the cargo invocation in
test.sh
2020-08-19 14:05:57 +02:00
bjorn3
33b6a9081a Add workaround for rust-lang/rust#74946
Fixes #1072
2020-08-19 13:56:54 +02:00
Craig Mayhew
7e203efce8
Enforce linux style line endings to support WSL (#1073)
* Enforce linux style line endings to support WSL

If you clone in windows, but run under WSL, the line endings cause errors. This enforces linux style line endings.

* Update .gitattributes to use text=auto

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-08-17 22:28:12 +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
d9a24fb496
Merge pull request #1070 from bjorn3/cpuid
Emulate cpuid
2020-08-15 21:27:06 +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
8c7c091244 Rustup to rustc 1.47.0-nightly (ceedf1d5f 2020-08-08) 2020-08-09 19:42:37 +02:00
bjorn3
49b7fac443 Enable simd insert and extract tests
Working since rust-lang/stdarch#876

Fixes #666
2020-08-08 16:32:03 +02:00
bjorn3
f79e8e8487 Rustup to rustc 1.47.0-nightly (09f4c9f50 2020-08-07) 2020-08-08 16:30:22 +02:00
bjorn3
8664ccc27f Remove ArchiveConfig 2020-08-08 16:19:42 +02:00
bjorn3
fb0e5c6211 Fix some warnings 2020-08-08 16:17:34 +02:00
bjorn3
240e178532 Don't panic on io errors
Fixes #920
2020-08-08 16:14:11 +02:00
bjorn3
5afffb823c Update syn 2020-08-05 14:02:54 +02:00
bjorn3
da09c576e7 Update Cranelift 2020-08-05 13:59:35 +02:00
bjorn3
3e4ddca409 Rustup to rustc 1.47.0-nightly (f9d422ea7 2020-08-04) 2020-08-05 13:55:27 +02:00
bjorn3
0cdec787bb
Merge pull request #1069 from Veetaha/feat/remove-perms-workaround
Remove cargo home perms workaround
2020-08-04 09:47:11 +02:00
Veetaha
50ecea0c18 Remove cargo home perms workaround 2020-08-04 03:33:31 +03:00
bjorn3
c5899526e4 Update dependencies 2020-07-30 16:43:53 +02:00
bjorn3
9f635de5c7 Update Cranelift 2020-07-30 16:37:31 +02:00
bjorn3
b97a873c9b Fix test path 2020-07-30 15:14:19 +02:00
bjorn3
7d69857dcb Rustup to rustc 1.47.0-nightly (db0492ace 2020-07-29) 2020-07-30 14:58:27 +02:00
bjorn3
ce04770124
Merge pull request #951 from bjorn3/simd_improvements
Simd improvements
2020-07-25 16:31:43 +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