]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoUse anonymous lifetimes where possible
bjorn3 [Sun, 18 Aug 2019 14:52:07 +0000 (16:52 +0200)]
Use anonymous lifetimes where possible

4 years agoLet codegen_get_discriminant accept CValue instead of CPlace
bjorn3 [Sun, 18 Aug 2019 14:19:33 +0000 (16:19 +0200)]
Let codegen_get_discriminant accept CValue instead of CPlace

4 years agoUse native `ar` to create archive files
bjorn3 [Sun, 18 Aug 2019 14:06:59 +0000 (16:06 +0200)]
Use native `ar` to create archive files

Workaround for #672

4 years agoDon't run jit tests on macOS
bjorn3 [Sun, 18 Aug 2019 13:48:31 +0000 (15:48 +0200)]
Don't run jit tests on macOS

Workaround for #671

4 years agoDon't run a alignment assertion on macOS
bjorn3 [Sun, 18 Aug 2019 13:30:06 +0000 (15:30 +0200)]
Don't run a alignment assertion on macOS

4 years agoMisc changes
bjorn3 [Sun, 18 Aug 2019 12:57:46 +0000 (14:57 +0200)]
Misc changes

4 years agoDisable debug assertions for libstd
bjorn3 [Sun, 18 Aug 2019 12:49:10 +0000 (14:49 +0200)]
Disable debug assertions for libstd

This is necessary on macOS, because of alignment problems

4 years agoRustup to rustc 1.39.0-nightly (2111aed0a 2019-08-17)
bjorn3 [Sun, 18 Aug 2019 09:30:13 +0000 (11:30 +0200)]
Rustup to rustc 1.39.0-nightly (2111aed0a 2019-08-17)

4 years agoDon't keep alloc_map locked while calling data_id_for_static
bjorn3 [Sat, 17 Aug 2019 10:31:10 +0000 (12:31 +0200)]
Don't keep alloc_map locked while calling data_id_for_static

Fixes #670

4 years agoImplement system abi
bjorn3 [Fri, 16 Aug 2019 16:16:24 +0000 (18:16 +0200)]
Implement system abi

4 years agoWorkaround for missing `#[rustc_args_required_const(..)]` support
bjorn3 [Fri, 16 Aug 2019 14:04:50 +0000 (16:04 +0200)]
Workaround for missing `#[rustc_args_required_const(..)]` support

cc #666

4 years agoInclude load/store.i128 fix from my cranelift branch
bjorn3 [Thu, 15 Aug 2019 11:37:38 +0000 (13:37 +0200)]
Include load/store.i128 fix from my cranelift branch

4 years agoWorkaround for missing icmp{,_imm}.i128 legalizations
bjorn3 [Thu, 15 Aug 2019 09:36:06 +0000 (11:36 +0200)]
Workaround for missing icmp{,_imm}.i128 legalizations

Fixes #667

4 years agoCast rhs to lhs type for shl and shr
bjorn3 [Wed, 14 Aug 2019 13:18:05 +0000 (15:18 +0200)]
Cast rhs to lhs type for shl and shr

4 years agoRefactor num.rs
bjorn3 [Wed, 14 Aug 2019 13:03:52 +0000 (15:03 +0200)]
Refactor num.rs

4 years agoCalculate sign in trans{,_checked}_int_binop instead of caller
bjorn3 [Wed, 14 Aug 2019 11:01:55 +0000 (13:01 +0200)]
Calculate sign in trans{,_checked}_int_binop instead of caller

4 years agoMove discriminant get and set to discriminant.rs
bjorn3 [Wed, 14 Aug 2019 10:01:41 +0000 (12:01 +0200)]
Move discriminant get and set to discriminant.rs

4 years agoMove trans_*_binop to num.rs
bjorn3 [Wed, 14 Aug 2019 09:52:39 +0000 (11:52 +0200)]
Move trans_*_binop to num.rs

4 years agoMisc changes
bjorn3 [Wed, 14 Aug 2019 09:36:24 +0000 (11:36 +0200)]
Misc changes

4 years agoOnly build dylib
bjorn3 [Tue, 13 Aug 2019 17:36:07 +0000 (19:36 +0200)]
Only build dylib

This saves ~200mb of space

4 years agoFix some rustc tests
bjorn3 [Thu, 1 Aug 2019 12:07:08 +0000 (14:07 +0200)]
Fix some rustc tests

* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm

4 years agoFix a panic on type size overflow
bjorn3 [Thu, 1 Aug 2019 12:58:27 +0000 (14:58 +0200)]
Fix a panic on type size overflow

4 years agoFix intrinsic::transmute::<_, <uninhabited>>(...)
bjorn3 [Sun, 4 Aug 2019 10:27:43 +0000 (12:27 +0200)]
Fix intrinsic::transmute::<_, <uninhabited>>(...)

4 years agoPrint error for #[rustc_def_path] like expected
bjorn3 [Sun, 4 Aug 2019 11:16:13 +0000 (13:16 +0200)]
Print error for #[rustc_def_path] like expected

4 years agoFix uninit intrinsic for zst values
bjorn3 [Tue, 13 Aug 2019 17:08:39 +0000 (19:08 +0200)]
Fix uninit intrinsic for zst values

4 years agoRustup to rustc 1.38.0-nightly (534b42394 2019-08-09)
bjorn3 [Tue, 13 Aug 2019 10:18:35 +0000 (12:18 +0200)]
Rustup to rustc 1.38.0-nightly (534b42394 2019-08-09)

4 years agoUpdate Cargo.lock
bjorn3 [Tue, 13 Aug 2019 09:52:09 +0000 (11:52 +0200)]
Update Cargo.lock

4 years agoRemove outdated FIXME and add some new FIXME
bjorn3 [Tue, 13 Aug 2019 09:46:59 +0000 (11:46 +0200)]
Remove outdated FIXME and add some new FIXME

4 years agoImplement float -> small int cast
bjorn3 [Mon, 12 Aug 2019 15:25:16 +0000 (17:25 +0200)]
Implement float -> small int cast

Also workaround small signed int eq/ne binop clif bug

4 years agoFix some warnings
bjorn3 [Mon, 12 Aug 2019 14:00:10 +0000 (16:00 +0200)]
Fix some warnings

4 years agoImplement log2{f32,f64} intrinsics
bjorn3 [Mon, 12 Aug 2019 13:54:24 +0000 (15:54 +0200)]
Implement log2{f32,f64} intrinsics

4 years agoMerge pull request #662 from bjorn3/jit_dylib
bjorn3 [Sun, 11 Aug 2019 17:08:01 +0000 (19:08 +0200)]
Merge pull request #662 from bjorn3/jit_dylib

Load dependent dylibs in JIT mode

4 years agoExtract jit imported symbols loading functionAlso make the staticlib load error non...
bjorn3 [Sun, 11 Aug 2019 16:17:51 +0000 (18:17 +0200)]
Extract jit imported symbols loading functionAlso make the staticlib load error non fatal

4 years agoRemove debugging println
bjorn3 [Sun, 11 Aug 2019 16:12:49 +0000 (18:12 +0200)]
Remove debugging println

4 years agoMisc changes
bjorn3 [Sun, 11 Aug 2019 15:33:52 +0000 (17:33 +0200)]
Misc changes

4 years agoFix it
bjorn3 [Sun, 11 Aug 2019 15:06:18 +0000 (17:06 +0200)]
Fix it

4 years agoAdd libstd.so to sysroot
bjorn3 [Sat, 10 Aug 2019 14:56:19 +0000 (16:56 +0200)]
Add libstd.so to sysroot

4 years ago[WIP] Implement dylib loading for the JIT
bjorn3 [Sat, 10 Aug 2019 14:50:23 +0000 (16:50 +0200)]
[WIP] Implement dylib loading for the JIT

4 years agoUpdate Cargo.lock
bjorn3 [Sat, 10 Aug 2019 12:33:59 +0000 (14:33 +0200)]
Update Cargo.lock

4 years agoImprove ci times
bjorn3 [Sat, 10 Aug 2019 12:06:08 +0000 (14:06 +0200)]
Improve ci times

4 years agoMerge pull request #660 from bjorn3/libtest
bjorn3 [Fri, 9 Aug 2019 13:19:06 +0000 (15:19 +0200)]
Merge pull request #660 from bjorn3/libtest

Libtest support

4 years agoEnable regex tests
bjorn3 [Fri, 9 Aug 2019 12:33:59 +0000 (14:33 +0200)]
Enable regex tests

4 years agoForce single thread mode for libtest
bjorn3 [Fri, 9 Aug 2019 11:18:09 +0000 (13:18 +0200)]
Force single thread mode for libtest

4 years agoLibtest support
bjorn3 [Wed, 31 Jul 2019 12:04:00 +0000 (14:04 +0200)]
Libtest support

4 years agoImplement real saturating behaviour for the saturating_* intrinsics with unsigned...
bjorn3 [Thu, 8 Aug 2019 13:54:13 +0000 (15:54 +0200)]
Implement real saturating behaviour for the saturating_* intrinsics with unsigned ints

4 years agoDon't omit overflow checks for *_with_overflow intrinsics when compiling without...
bjorn3 [Thu, 8 Aug 2019 12:27:50 +0000 (14:27 +0200)]
Don't omit overflow checks for *_with_overflow intrinsics when compiling without debug assertions

4 years agoFix constant alignment on macOS
bjorn3 [Wed, 7 Aug 2019 13:26:29 +0000 (15:26 +0200)]
Fix constant alignment on macOS

4 years agoRustup to rustc 1.38.0-nightly (6a91782b7 2019-08-06)
bjorn3 [Wed, 7 Aug 2019 10:35:49 +0000 (12:35 +0200)]
Rustup to rustc 1.38.0-nightly (6a91782b7 2019-08-06)

4 years agoImplement simd_extract
bjorn3 [Mon, 5 Aug 2019 14:28:27 +0000 (16:28 +0200)]
Implement simd_extract

4 years agoRustup to rustc 1.38.0-nightly (6e0d27d93 2019-08-03)
bjorn3 [Sun, 4 Aug 2019 11:42:40 +0000 (13:42 +0200)]
Rustup to rustc 1.38.0-nightly (6e0d27d93 2019-08-03)

4 years agoCall assert_module_sources
bjorn3 [Sun, 4 Aug 2019 11:36:43 +0000 (13:36 +0200)]
Call assert_module_sources

4 years agoCorrectly align all allocs
bjorn3 [Sat, 30 Mar 2019 17:22:43 +0000 (18:22 +0100)]
Correctly align all allocs

Fixes #348

4 years agoTest mutex locking
bjorn3 [Sat, 30 Mar 2019 17:22:43 +0000 (18:22 +0100)]
Test mutex locking

4 years agoCorrectly implement atomic_nand_* intrinsics
bjorn3 [Thu, 1 Aug 2019 08:58:18 +0000 (10:58 +0200)]
Correctly implement atomic_nand_* intrinsics

Fixes #639

4 years agoUpdate Cargo.lock
bjorn3 [Thu, 1 Aug 2019 08:54:37 +0000 (10:54 +0200)]
Update Cargo.lock

4 years agoFix simd_cast
bjorn3 [Wed, 31 Jul 2019 07:45:11 +0000 (09:45 +0200)]
Fix simd_cast

4 years agoMerge pull request #650 from bjorn3/simd_emulation
bjorn3 [Tue, 30 Jul 2019 13:42:29 +0000 (15:42 +0200)]
Merge pull request #650 from bjorn3/simd_emulation

Simd emulation

4 years agoFix release builds
bjorn3 [Tue, 30 Jul 2019 13:00:15 +0000 (15:00 +0200)]
Fix release builds

4 years agoMisc changes
bjorn3 [Tue, 30 Jul 2019 12:51:05 +0000 (14:51 +0200)]
Misc changes

4 years agoImplement some float simd intrinsics
bjorn3 [Tue, 30 Jul 2019 12:37:20 +0000 (14:37 +0200)]
Implement some float simd intrinsics

4 years agoTest rust-lang/regex example shootout-regex-dna
bjorn3 [Tue, 30 Jul 2019 11:37:47 +0000 (13:37 +0200)]
Test rust-lang/regex example shootout-regex-dna

4 years agoFix _mm_movemask_epi8
bjorn3 [Mon, 29 Jul 2019 16:59:17 +0000 (18:59 +0200)]
Fix _mm_movemask_epi8

The order of iteration was wrong

4 years agoPatch core_arch to tell programs that cpuid is not supported
bjorn3 [Mon, 29 Jul 2019 12:35:42 +0000 (14:35 +0200)]
Patch core_arch to tell programs that cpuid is not supported

4 years agoFix thread disable patch
bjorn3 [Mon, 29 Jul 2019 12:35:15 +0000 (14:35 +0200)]
Fix thread disable patch

4 years agoFix returning (u128, u128)
bjorn3 [Mon, 29 Jul 2019 11:18:21 +0000 (13:18 +0200)]
Fix returning (u128, u128)

4 years agoImplement llvm.x86.avx2.pmovmskb llvm intrinsic
bjorn3 [Mon, 29 Jul 2019 10:50:20 +0000 (12:50 +0200)]
Implement llvm.x86.avx2.pmovmskb llvm intrinsic

4 years agoEmulate llvm.x86.sse2.pmovmskb.128 llvm intrinsic
bjorn3 [Mon, 29 Jul 2019 10:43:24 +0000 (12:43 +0200)]
Emulate llvm.x86.sse2.pmovmskb.128 llvm intrinsic

4 years agoImplement and test simd_shuffle*
bjorn3 [Mon, 29 Jul 2019 09:23:53 +0000 (11:23 +0200)]
Implement and test simd_shuffle*

4 years ago[WIP] simd_shuffle*
bjorn3 [Sun, 28 Jul 2019 09:24:33 +0000 (11:24 +0200)]
[WIP] simd_shuffle*

4 years ago[WIP] simd_shuffle support
bjorn3 [Sun, 28 Jul 2019 08:24:57 +0000 (10:24 +0200)]
[WIP] simd_shuffle support

4 years agoReplace llvm intrinsics with runtime trap
bjorn3 [Sun, 28 Jul 2019 07:54:57 +0000 (09:54 +0200)]
Replace llvm intrinsics with runtime trap

4 years agoFix simd comparison
bjorn3 [Sun, 28 Jul 2019 07:45:01 +0000 (09:45 +0200)]
Fix simd comparison

4 years agoEmulate compare simd intrinsics
bjorn3 [Sat, 27 Jul 2019 15:52:57 +0000 (17:52 +0200)]
Emulate compare simd intrinsics

4 years agoEmulate some simd intrinsics
bjorn3 [Sat, 27 Jul 2019 15:48:24 +0000 (17:48 +0200)]
Emulate some simd intrinsics

4 years agoRustup to rustc 1.38.0-nightly (4560cb830 2019-07-28)
bjorn3 [Mon, 29 Jul 2019 08:32:24 +0000 (10:32 +0200)]
Rustup to rustc 1.38.0-nightly (4560cb830 2019-07-28)

4 years agoUpdate dependencies
bjorn3 [Sun, 28 Jul 2019 07:24:27 +0000 (09:24 +0200)]
Update dependencies

4 years agoRustup to rustc 1.38.0-nightly (c798dffac 2019-07-27)
bjorn3 [Sun, 28 Jul 2019 07:24:16 +0000 (09:24 +0200)]
Rustup to rustc 1.38.0-nightly (c798dffac 2019-07-27)

4 years agoImplement many more float intrinsics
bjorn3 [Sat, 27 Jul 2019 14:51:48 +0000 (16:51 +0200)]
Implement many more float intrinsics

4 years agoDon't set opt_level to best
bjorn3 [Sat, 27 Jul 2019 14:12:15 +0000 (16:12 +0200)]
Don't set opt_level to best

LICM is still broken

4 years agoFix checked binops when overflow checks are disabled
bjorn3 [Sat, 27 Jul 2019 14:11:04 +0000 (16:11 +0200)]
Fix checked binops when overflow checks are disabled

4 years agoRustup to rustc 1.38.0-nightly (c43753f91 2019-07-26)
bjorn3 [Sat, 27 Jul 2019 09:35:46 +0000 (11:35 +0200)]
Rustup to rustc 1.38.0-nightly (c43753f91 2019-07-26)

5 years agoReduce patching of libcore a bit
bjorn3 [Fri, 26 Jul 2019 10:22:58 +0000 (12:22 +0200)]
Reduce patching of libcore a bit

These parts are no longer necessary as of #627

5 years agoMerge pull request #627 from bjorn3/wip_i128
bjorn3 [Fri, 26 Jul 2019 10:19:24 +0000 (12:19 +0200)]
Merge pull request #627 from bjorn3/wip_i128

Support 128bit numbers

5 years agoUse own branch of clif instead of local checkout
bjorn3 [Fri, 26 Jul 2019 10:02:51 +0000 (12:02 +0200)]
Use own branch of clif instead of local checkout

5 years agoUpdate Readme.md
bjorn3 [Fri, 26 Jul 2019 09:47:27 +0000 (11:47 +0200)]
Update Readme.md

5 years agoRemove unnecessary changes
bjorn3 [Fri, 26 Jul 2019 09:45:01 +0000 (11:45 +0200)]
Remove unnecessary changes

5 years agoMerge pull request #646 from bjorn3/wip_checked_binops2
bjorn3 [Fri, 26 Jul 2019 09:37:21 +0000 (11:37 +0200)]
Merge pull request #646 from bjorn3/wip_checked_binops2

Implement checked add and sub

5 years ago[WIP]
bjorn3 [Thu, 25 Jul 2019 13:49:38 +0000 (15:49 +0200)]
[WIP]

5 years agoUse std checked_div
bjorn3 [Thu, 25 Jul 2019 12:55:55 +0000 (14:55 +0200)]
Use std checked_div

5 years agoDisplay span in Assert panic message
bjorn3 [Thu, 25 Jul 2019 12:52:37 +0000 (14:52 +0200)]
Display span in Assert panic message

5 years agoFix arg header comments
bjorn3 [Wed, 24 Jul 2019 15:56:16 +0000 (17:56 +0200)]
Fix arg header comments

5 years agoRemove some unnecessary changes
bjorn3 [Wed, 24 Jul 2019 15:23:23 +0000 (17:23 +0200)]
Remove some unnecessary changes

5 years agoFix 128bit CValue::const_val
bjorn3 [Wed, 24 Jul 2019 15:16:31 +0000 (17:16 +0200)]
Fix 128bit CValue::const_val

5 years agoImplement 128bit checked add and sub
bjorn3 [Wed, 24 Jul 2019 11:16:36 +0000 (13:16 +0200)]
Implement 128bit checked add and sub

5 years agoImplement 128bit comparison binops
bjorn3 [Wed, 24 Jul 2019 11:08:31 +0000 (13:08 +0200)]
Implement 128bit comparison binops

5 years agoImplement 128bit multiply with overflow
bjorn3 [Sat, 20 Jul 2019 15:57:00 +0000 (17:57 +0200)]
Implement 128bit multiply with overflow

5 years agoImplement 128bit shl and shr binops
bjorn3 [Sat, 20 Jul 2019 15:44:41 +0000 (17:44 +0200)]
Implement 128bit shl and shr binops

5 years agoRespect sess.overflow_checks()
bjorn3 [Sat, 20 Jul 2019 15:05:43 +0000 (17:05 +0200)]
Respect sess.overflow_checks()

5 years ago[WIP]
bjorn3 [Wed, 17 Jul 2019 18:45:54 +0000 (20:45 +0200)]
[WIP]

5 years agoImplement most 128bit binops
bjorn3 [Sun, 7 Jul 2019 16:08:38 +0000 (18:08 +0200)]
Implement most 128bit binops