Commit Graph

1291 Commits

Author SHA1 Message Date
Antoni Boucher
16e1ad7327 Fix clippy warnings 2024-06-25 08:10:29 -04:00
Robert Zakrzewski
dabf5faff0 Add support for Float64 2024-06-21 22:10:52 +02:00
Robert Zakrzewski
2eaac2388d Refactor type_f16|32|128 functions. Common type_kind()
fix
2024-06-21 17:21:46 +02:00
Robert Zakrzewski
55788e4a92 Update libgccjit version with fixed is_same_type_as for vector types 2024-06-21 16:12:05 +02:00
Antoni Boucher
c4e7c04de9 Fix location of check for sized floating-point types 2024-06-21 16:12:05 +02:00
Robert Zakrzewski
0dad11feb9 Do not use target dependent Float32
fix formatting
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
b94cb8c01c Add missing types in the type_kind function
reorder type_kind

reorder type_kind

reorder type_kind

fix

fix

fix

fix
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
fa18a181f7 Temporary downgrade compiler_builtins library. From version 0.1.110 the no-f16-f128 feautes introduced incompatibility 2024-06-21 16:12:05 +02:00
Robert Zakrzewski
a486dbfc17 Upgrade libgccjit.version 2024-06-21 16:12:05 +02:00
Robert Zakrzewski
d0977e3e2a Add support for Float16, Float32, Float64 and Float128
Upgrade libgccjit.version

Limit new Floatxx types to master branch only

apply rustfmt

Make new types available only when requested

Make new types available only when requested

Check if Float16 and Float128 are supported by the target platform

Replace Float with Float32 and Double with Float64 if target dependent type is defined

Add support for Float16|32|64|128 in the builder

Fix cargo fmt errors

Update gccjit wrapper

update hash of ligccjit
2024-06-21 16:12:05 +02:00
Shashank Trivedi
a63b83eb4e
ui pattern failure tests (#524) 2024-06-10 17:13:44 -04:00
Bennet Bleßmann
eccab8ba39
prevent libgccjit.so download on unsupported os/arch (#529)
prevent libgccjit.so download on unsupported os/arch (#529)


Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2024-06-01 13:29:55 +02:00
antoyo
c2c93ee721
Merge pull request #526 from GuillaumeGomez/readme-format
Improve Readme.md format
2024-05-28 07:55:47 -04:00
Guillaume Gomez
e7eeeb92da Improve Readme.md format 2024-05-28 12:03:35 +02:00
antoyo
02eb434da9
Merge pull request #519 from sadlerap/simd-ptr-provenance
simd: implement pointer provenance intrinsics
2024-05-27 12:48:19 -04:00
Gerson
b13943ed42
adding more env vars (#523) 2024-05-27 12:08:20 -04:00
Andy Sadler
a0b4d735e3
simd: implement pointer provenance intrinsics
This adds support for the simd variants of the pointer provenance
intrinsics, which are `simd_cast_ptr`, `simd_expose_addr`, and
`simd_from_exposed_addr`.

The preconditions for each intrinsic are adapted from rustc_codegen_llvm
to preserve compatibility.  Each of these intrinsics are implemented as
calling the non-simd variant of each intrinsic on each lane.

This is enough to enable the UI test `ui/simd/intrinsic/ptr-cast.rs` to
pass.

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2024-05-08 20:51:21 -05:00
antoyo
d7c8e0fb43
Merge pull request #510 from GuillaumeGomez/fmt-cmd
Add `fmt` command
2024-05-03 08:07:47 -04:00
Guillaume Gomez
7e369b314b Simplify fmt check in CI 2024-05-03 11:52:47 +02:00
Guillaume Gomez
bd7c57b8cd Add fmt command 2024-05-03 11:52:47 +02:00
Guillaume Gomez
aee803b542
Merge pull request #512 from rust-lang/fix/tests
Fix segfault in tests due to a bug in libc 0.2.154
2024-05-03 00:05:22 +02:00
Antoni Boucher
5166efc3eb Fix segfault in tests due to a bug in libc 0.2.154
We now keep the Cargo.lock to fix the version of libc to 0.2.153.
2024-05-02 17:29:07 -04:00
antoyo
f557bc4680
Merge pull request #509 from GuillaumeGomez/signal-swallowing
Stop swallowing signals in build_system when running sub-commands
2024-05-01 10:29:14 -04:00
Guillaume Gomez
766f59d7f2 Stop swallowing signals in build_system when running sub-commands 2024-05-01 15:56:47 +02:00
antoyo
0f87072fdf
Merge pull request #508 from rust-lang/fix/aarch64
Some more fixes and workarounds for Aarch64
2024-04-29 11:34:59 -04:00
Antoni Boucher
9ed0543964 Some more fixes and workarounds for Aarch64 2024-04-29 11:07:54 -04:00
Guillaume Gomez
a79c5766e9
Merge pull request #507 from GuillaumeGomez/change-ci-download-urls
Download artifacts from `rust-lang/gcc` instead of old `antoyo/gcc`
2024-04-28 16:17:04 +02:00
Guillaume Gomez
4267ff0656 Download artifacts from rust-lang/gcc instead of old antoyo/gcc 2024-04-26 14:02:19 +02:00
antoyo
d408f23622
Merge pull request #504 from rust-lang/fix/aarch64
Some fixes for aarch64
2024-04-24 20:37:34 -04:00
Antoni Boucher
65e8717e45 Some fixes for aarch64 2024-04-24 20:15:15 -04:00
antoyo
01b0fb7b56
Merge pull request #494 from darcagn/custom_rustlib
Modify build_system's prepare stage to allow for custom sysroot source path
2024-04-24 19:25:38 -04:00
darc
04932ea22f Modify build_system's prepare stage to allow for custom sysroot source path 2024-04-24 16:53:44 -05:00
antoyo
41839175b0
Merge pull request #498 from rust-lang/fix/pass-indirect-with-params
Fix PassMode::Indirect with params
2024-04-22 09:44:46 -04:00
Antoni Boucher
f9a0c3fb0f Fix PassMode::Indirect with params 2024-04-22 09:14:28 -04:00
antoyo
4a52f9579a
Merge pull request #500 from rust-lang/fix/type-kind
Implement more type kinds
2024-04-19 21:53:40 -04:00
antoyo
9941c3590d
Merge pull request #499 from rust-lang/fix/unreachable-in-get_fn
Fix panic when calling get_fn for a variable
2024-04-19 21:26:48 -04:00
Antoni Boucher
89ee0f997c Implement more type kinds 2024-04-19 21:23:56 -04:00
antoyo
e26e7aeb9a
Merge pull request #497 from rust-lang/fix/add-block-to-imported-main-function
Fix check for main function already declared
2024-04-19 21:20:16 -04:00
Antoni Boucher
9b628f8e82 Fix panic when calling get_fn for a variable 2024-04-19 20:57:40 -04:00
Antoni Boucher
7cd561efd6 Fix check for main function already declared 2024-04-19 20:55:59 -04:00
antoyo
ab7d138d16
Merge pull request #493 from darcagn/master
Fix passing custom CG_RUSTFLAGS when building sysroot
2024-04-17 18:11:52 -04:00
Gerson
6e5395a414
Updating readme instructions (#489) 2024-04-17 11:31:18 -04:00
darc
50a0d5b816 Fix passing custom CG_RUSTFLAGS when building sysroot 2024-04-17 10:02:10 -05:00
antoyo
56a022f5e5
Merge pull request #492 from antoyo/master
Sync fork
2024-04-17 08:26:57 -04:00
antoyo
f3ff769dd5
Merge pull request #18 from GuillaumeGomez/default-download
Default to `download-gccjit` instead of `gcc-path`
2024-04-17 07:40:57 -04:00
アレーク
5584f5f1a2
updated build system script commands (#490)
updated build system script commands
2024-04-16 23:59:47 +02:00
Guillaume Gomez
a3cd6e7a31 Default to download-gccjit instead of gcc-path 2024-04-13 21:31:57 +02:00
Shashank Trivedi
8692192582
build sysroot flag (#16) 2024-04-10 08:23:51 -04:00
antoyo
7531a22bbe
Merge pull request #486 from antoyo/master
Merge fork
2024-04-07 08:56:18 -04:00
antoyo
c7f1d5d409
Merge pull request #15 from GuillaumeGomez/add-rustc-command
Add rustc command to build system
2024-04-06 23:05:10 -04:00