]> git.lizzy.rs Git - rust.git/log
rust.git
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)

4 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

4 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

4 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

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

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

4 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

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

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

4 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

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

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

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

4 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

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

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

4 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

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

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

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

4 years agoRemove unnecessary if statement
bjorn3 [Sat, 29 Jun 2019 15:43:25 +0000 (17:43 +0200)]
Remove unnecessary if statement

4 years agoDon't special case u/i128 for UnOp::not
bjorn3 [Sat, 29 Jun 2019 15:02:34 +0000 (17:02 +0200)]
Don't special case u/i128 for UnOp::not

4 years agoFix it
bjorn3 [Sat, 29 Jun 2019 14:53:20 +0000 (16:53 +0200)]
Fix it

4 years agoFix some more stuff
bjorn3 [Sat, 29 Jun 2019 14:43:20 +0000 (16:43 +0200)]
Fix some more stuff

4 years ago[WIP]
bjorn3 [Thu, 27 Jun 2019 18:53:21 +0000 (20:53 +0200)]
[WIP]

4 years ago[WIP]
bjorn3 [Thu, 27 Jun 2019 18:49:39 +0000 (20:49 +0200)]
[WIP]

4 years agoFix type in load_scalar
bjorn3 [Mon, 17 Jun 2019 19:19:08 +0000 (21:19 +0200)]
Fix type in load_scalar

4 years agoFix some things
bjorn3 [Mon, 17 Jun 2019 19:13:02 +0000 (21:13 +0200)]
Fix some things

4 years ago[WIP] Basic i128 support
bjorn3 [Wed, 12 Jun 2019 18:54:38 +0000 (20:54 +0200)]
[WIP] Basic i128 support

4 years agoImplement checked binops
bjorn3 [Sat, 13 Jul 2019 14:55:08 +0000 (16:55 +0200)]
Implement checked binops

4 years agoRustup to rustc 1.38.0-nightly (a7f28678b 2019-07-23)
bjorn3 [Wed, 24 Jul 2019 09:56:24 +0000 (11:56 +0200)]
Rustup to rustc 1.38.0-nightly (a7f28678b 2019-07-23)

4 years agoUpdate Cargo.lock
bjorn3 [Sat, 20 Jul 2019 13:48:18 +0000 (15:48 +0200)]
Update Cargo.lock

4 years agoUpdate cranelift
bjorn3 [Sat, 20 Jul 2019 13:42:26 +0000 (15:42 +0200)]
Update cranelift

4 years agoDon't disable stdsimd anymore
bjorn3 [Sat, 20 Jul 2019 13:33:57 +0000 (15:33 +0200)]
Don't disable stdsimd anymore

This doesn't enable simd support. Actually using the functions will
result in a compilation error.

4 years agoRustup to rustc 1.38.0-nightly (e3cebcb3b 2019-07-19)
bjorn3 [Sat, 20 Jul 2019 11:04:02 +0000 (13:04 +0200)]
Rustup to rustc 1.38.0-nightly (e3cebcb3b 2019-07-19)

4 years agoUpdate Cargo.lock
bjorn3 [Sat, 13 Jul 2019 11:36:13 +0000 (13:36 +0200)]
Update Cargo.lock

4 years agoUpdate cranelift
bjorn3 [Sat, 13 Jul 2019 11:31:30 +0000 (13:31 +0200)]
Update cranelift

4 years agoRustup to rustc 1.38.0-nightly (71f9384e3 2019-07-12)
bjorn3 [Sat, 13 Jul 2019 09:07:07 +0000 (11:07 +0200)]
Rustup to rustc 1.38.0-nightly (71f9384e3 2019-07-12)

4 years agoBump cranelift-module from `1ba2b65` to `4125d47` (#636)
dependabot-preview[bot] [Wed, 10 Jul 2019 07:42:03 +0000 (09:42 +0200)]
Bump cranelift-module from `1ba2b65` to `4125d47` (#636)

Bumps [cranelift-module](https://github.com/CraneStation/cranelift) from `1ba2b65` to `4125d47`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/1ba2b6536c1d2f9834825bda0c64e084b0f03d47...4125d47d692813a1ddfc66dd2ef87243df86f697)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoMerge pull request #630 from bjorn3/dependabot/cargo/cranelift-1ba2b65
bjorn3 [Mon, 8 Jul 2019 15:13:41 +0000 (17:13 +0200)]
Merge pull request #630 from bjorn3/dependabot/cargo/cranelift-1ba2b65

Bump cranelift from `00ac8be` to `1ba2b65`

5 years agoRustup
bjorn3 [Mon, 8 Jul 2019 07:54:18 +0000 (09:54 +0200)]
Rustup

5 years agoBump cranelift from `00ac8be` to `1ba2b65`
dependabot-preview[bot] [Mon, 8 Jul 2019 04:52:42 +0000 (04:52 +0000)]
Bump cranelift from `00ac8be` to `1ba2b65`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `00ac8be` to `1ba2b65`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/00ac8be2fecbef3bb59d845a83123126e8317113...1ba2b6536c1d2f9834825bda0c64e084b0f03d47)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoRustup to rustc 1.38.0-nightly (dfd52ba6a 2019-07-06)
bjorn3 [Sun, 7 Jul 2019 09:59:11 +0000 (11:59 +0200)]
Rustup to rustc 1.38.0-nightly (dfd52ba6a 2019-07-06)

5 years agoUpdate Cargo.lock
bjorn3 [Thu, 4 Jul 2019 16:02:47 +0000 (18:02 +0200)]
Update Cargo.lock

5 years agoMerge pull request #624 from bjorn3/dependabot/cargo/cranelift-faerie-312516a
dependabot-preview[bot] [Wed, 3 Jul 2019 17:44:42 +0000 (17:44 +0000)]
Merge pull request #624 from bjorn3/dependabot/cargo/cranelift-faerie-312516a

5 years agoBump cranelift-faerie from `3317fc6` to `312516a`
dependabot-preview[bot] [Wed, 3 Jul 2019 15:38:07 +0000 (15:38 +0000)]
Bump cranelift-faerie from `3317fc6` to `312516a`

Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `3317fc6` to `312516a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/3317fc623c315073710fc1ed67c2d17d2466ab5d...312516a69da03dc06eace32f61412389a8dcadf3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoRustup to rustc 1.37.0-nightly (0beb2ba16 2019-07-02)
bjorn3 [Wed, 3 Jul 2019 14:49:42 +0000 (16:49 +0200)]
Rustup to rustc 1.37.0-nightly (0beb2ba16 2019-07-02)

Also removes some unnecessary errors.

5 years ago[CI] Only cache .cargo dir
bjorn3 [Wed, 3 Jul 2019 14:27:06 +0000 (16:27 +0200)]
[CI] Only cache .cargo dir

5 years agoRustup to rustc 1.37.0-nightly (433a46781 2019-06-28)
bjorn3 [Sat, 29 Jun 2019 09:16:55 +0000 (11:16 +0200)]
Rustup to rustc 1.37.0-nightly (433a46781 2019-06-28)

5 years agoImplement some float intrinsics
bjorn3 [Tue, 25 Jun 2019 18:18:10 +0000 (20:18 +0200)]
Implement some float intrinsics

5 years agoUpdate Cargo.lock
bjorn3 [Mon, 24 Jun 2019 19:01:38 +0000 (21:01 +0200)]
Update Cargo.lock

5 years agoMerge pull request #617 from bjorn3/dependabot/cargo/cranelift-1eb92b1
dependabot-preview[bot] [Mon, 24 Jun 2019 07:06:37 +0000 (07:06 +0000)]
Merge pull request #617 from bjorn3/dependabot/cargo/cranelift-1eb92b1

5 years agoBump cranelift from `f3f7cad` to `1eb92b1`
dependabot-preview[bot] [Mon, 24 Jun 2019 04:58:50 +0000 (04:58 +0000)]
Bump cranelift from `f3f7cad` to `1eb92b1`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `f3f7cad` to `1eb92b1`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/f3f7cadd0157d06089c9b5864d513a61856d0f4d...1eb92b193dcd8f137005d0dcfde972ac25a20221)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoImplement bswap intrinsic
bjorn3 [Sat, 17 Nov 2018 17:52:47 +0000 (18:52 +0100)]
Implement bswap intrinsic

5 years agoImplement some intrinsics
bjorn3 [Sun, 23 Jun 2019 14:33:34 +0000 (16:33 +0200)]
Implement some intrinsics

5 years agoFix load and store for ByValPair values with differently sized components
bjorn3 [Sun, 23 Jun 2019 13:14:26 +0000 (15:14 +0200)]
Fix load and store for ByValPair values with differently sized components

5 years agoRemove some unnecessary patches
bjorn3 [Sun, 23 Jun 2019 09:22:16 +0000 (11:22 +0200)]
Remove some unnecessary patches

cc #337

5 years agoRustup to rustc 1.37.0-nightly (de02101e6 2019-06-22)
bjorn3 [Sun, 23 Jun 2019 08:47:16 +0000 (10:47 +0200)]
Rustup to rustc 1.37.0-nightly (de02101e6 2019-06-22)

5 years agoFix returning non ZST uninhabited types
bjorn3 [Sun, 2 Jun 2019 14:25:44 +0000 (16:25 +0200)]
Fix returning non ZST uninhabited types

5 years agoFix SetDiscriminant for generators
bjorn3 [Sun, 2 Jun 2019 14:25:10 +0000 (16:25 +0200)]
Fix SetDiscriminant for generators

5 years agoImplement lt, le, ge and gt for fat pointers
bjorn3 [Sat, 4 May 2019 16:40:49 +0000 (18:40 +0200)]
Implement lt, le, ge and gt for fat pointers

5 years agoAdd comments for trap::codegen_print gv and fn defs
bjorn3 [Sun, 16 Jun 2019 15:40:16 +0000 (17:40 +0200)]
Add comments for trap::codegen_print gv and fn defs

5 years agoMake a link less prone to breaking
bjorn3 [Sun, 16 Jun 2019 15:27:51 +0000 (17:27 +0200)]
Make a link less prone to breaking

5 years agoRefactor drop codegen
bjorn3 [Sun, 16 Jun 2019 13:57:53 +0000 (15:57 +0200)]
Refactor drop codegen

5 years agoFix compiling in release mode
bjorn3 [Sun, 16 Jun 2019 12:47:01 +0000 (14:47 +0200)]
Fix compiling in release mode

5 years agoUpdate dependencies
bjorn3 [Sun, 16 Jun 2019 12:39:23 +0000 (14:39 +0200)]
Update dependencies

5 years agoImplement scalar pair abi pass mode
bjorn3 [Sun, 16 Jun 2019 10:54:37 +0000 (12:54 +0200)]
Implement scalar pair abi pass mode

5 years agoFix `write_cvalue` for `ByValPair` when the cvalue is not trivially a pair
bjorn3 [Sun, 16 Jun 2019 10:51:16 +0000 (12:51 +0200)]
Fix `write_cvalue` for `ByValPair` when the cvalue is not trivially a pair

`write_cvalue` didn't work for `Box<[u8]>`, because the inner fat ptr
was wrapped inside a newtype, which meant `Box<[u8]>` itself only had
one field.

This also simplifies `CValue::force_stack` by reusing `write_cvalue`
when it is not already on the stack.

5 years agoRustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15)
bjorn3 [Sun, 16 Jun 2019 09:13:49 +0000 (11:13 +0200)]
Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15)

5 years agoApply rust-lang pr61828 to fix sysroot building
bjorn3 [Fri, 14 Jun 2019 17:33:08 +0000 (19:33 +0200)]
Apply rust-lang pr61828 to fix sysroot building

5 years agoRustup to rustc 1.37.0-nightly (2887008e0 2019-06-12)
bjorn3 [Thu, 13 Jun 2019 18:44:40 +0000 (20:44 +0200)]
Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12)

5 years agoFix debuginfo generation when given source path doesn't contain a dir (eg plain lib.rs)
bjorn3 [Tue, 11 Jun 2019 16:40:07 +0000 (18:40 +0200)]
Fix debuginfo generation when given source path doesn't contain a dir (eg plain lib.rs)

5 years agoBump region from 2.1.0 to 2.1.1 (#606)
dependabot-preview[bot] [Wed, 12 Jun 2019 15:06:15 +0000 (17:06 +0200)]
Bump region from 2.1.0 to 2.1.1 (#606)

Bumps [region](https://github.com/darfink/region-rs) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/darfink/region-rs/releases)
- [Commits](https://github.com/darfink/region-rs/compare/2.1.0...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoBump miniz-sys from 0.1.11 to 0.1.12 (#607)
dependabot-preview[bot] [Wed, 12 Jun 2019 15:05:50 +0000 (17:05 +0200)]
Bump miniz-sys from 0.1.11 to 0.1.12 (#607)

Bumps [miniz-sys](https://github.com/alexcrichton/flate2-rs) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/alexcrichton/flate2-rs/releases)
- [Commits](https://github.com/alexcrichton/flate2-rs/compare/miniz-sys-0.1.11...miniz-sys-0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agoRemove workaround for previously missing encoding
bjorn3 [Tue, 11 Jun 2019 15:24:11 +0000 (17:24 +0200)]
Remove workaround for previously missing encoding

5 years agoMerge pull request #435 from bjorn3/write_dylib_metadata
bjorn3 [Tue, 11 Jun 2019 15:22:22 +0000 (17:22 +0200)]
Merge pull request #435 from bjorn3/write_dylib_metadata

Read and write dylib metadata

5 years agoCleanup
bjorn3 [Tue, 11 Jun 2019 14:59:42 +0000 (16:59 +0200)]
Cleanup

5 years agoFix it
bjorn3 [Tue, 11 Jun 2019 14:57:59 +0000 (16:57 +0200)]
Fix it

5 years ago[WIP]
bjorn3 [Sun, 2 Jun 2019 09:42:31 +0000 (11:42 +0200)]
[WIP]

5 years agoUpdate for faerie section symbols
bjorn3 [Fri, 31 May 2019 10:35:04 +0000 (12:35 +0200)]
Update for faerie section symbols

5 years ago[WIP] Add section symbol for mach-O
bjorn3 [Sun, 26 May 2019 08:02:32 +0000 (10:02 +0200)]
[WIP] Add section symbol for mach-O

5 years agoOnly write metadata module when necessary
bjorn3 [Sat, 4 May 2019 13:26:26 +0000 (15:26 +0200)]
Only write metadata module when necessary

5 years ago[WIP]
bjorn3 [Thu, 4 Apr 2019 18:42:50 +0000 (20:42 +0200)]
[WIP]

5 years ago[DEBUG] Add objdump invocation
bjorn3 [Fri, 29 Mar 2019 18:25:14 +0000 (19:25 +0100)]
[DEBUG] Add objdump invocation

5 years ago[WIP] Use correct segment for metadata section
bjorn3 [Thu, 28 Mar 2019 19:54:44 +0000 (20:54 +0100)]
[WIP] Use correct segment for metadata section

5 years agoRead and write dylib metadata
bjorn3 [Wed, 27 Mar 2019 18:24:42 +0000 (19:24 +0100)]
Read and write dylib metadata

5 years agoMove layout out of the enum for CValue
bjorn3 [Tue, 11 Jun 2019 14:41:40 +0000 (16:41 +0200)]
Move layout out of the enum for CValue