Commit Graph

803 Commits

Author SHA1 Message Date
Guillaume Gomez
ea52df463b
Fix typo 2022-10-19 23:47:42 +02:00
Guillaume Gomez
c89e3e9b0c Update Readme.md 2022-10-19 21:01:08 +02:00
Guillaume Gomez
994a669e26 Make the asm test suite run on its own 2022-10-18 23:35:47 +02:00
Guillaume Gomez
f150ab3277 Improve code generating inline ASM 2022-10-18 23:11:46 +02:00
Guillaume Gomez
5484c131a5 Don't override -masm option if set in the command arguments 2022-10-18 22:45:22 +02:00
Guillaume Gomez
1b60286103 Implement constraits modifiers 2022-10-18 17:44:33 +02:00
Guillaume Gomez
549fbe8ecb Set llvm-filecheck binary path into rustc config 2022-10-18 17:44:33 +02:00
Guillaume Gomez
94a4a4c350 Convert llvm-arg --x86-asm-syntax into GCC arg -masm 2022-10-18 16:31:50 +02:00
Guillaume Gomez
d04e66fd0f Run assembly tests in the CI 2022-10-18 16:31:50 +02:00
Guillaume Gomez
ccfe7d8898 Add asm test suite 2022-10-18 16:31:49 +02:00
Guillaume Gomez
b3198c72db Add missing register class conversion for inline asm 2022-10-18 16:29:33 +02:00
Guillaume Gomez
25d482856e
Improve installation documentation 2022-10-17 23:47:18 +02:00
Amanieu d'Antras
14e0e0fec3 Stabilize asm_sym 2022-10-17 22:38:37 +01:00
antoyo
618553b9b4
Merge pull request #234 from paulcacheux/paulcacheux/remove-rustc-patch
Remove not applicable rustc patch
2022-10-17 12:14:18 -04:00
Paul Cacheux
db489d06cf remove empty directory 2022-10-17 09:42:33 +02:00
Paul Cacheux
94d58b1bd3 remove not applicable rustc patch 2022-10-15 16:20:42 +02:00
antoyo
7f95363a97
Merge pull request #233 from paulcacheux/paulcacheux/bump-github-actions
Bump Github actions
2022-10-15 10:00:46 -04:00
Paul Cacheux
cd01e8db68 remove cargo cache fixups 2022-10-15 14:40:01 +02:00
Paul Cacheux
12bfb01b91 bump actions for node16 2022-10-15 14:39:43 +02:00
antoyo
e84f9a1592
Merge pull request #231 from rust-lang/fix/simd_select_bitmask
Fix/simd select bitmask
2022-10-09 17:24:59 -04:00
Antoni Boucher
173db39f91 Fix simd_select 2022-10-09 14:24:35 -04:00
Antoni Boucher
e5ce7a9846 Fix simd_select_bitmask 2022-10-09 14:24:35 -04:00
antoyo
04fd2d3c9c
Merge pull request #230 from rust-lang/fix/simd_bitmask
Fix/simd bitmask
2022-10-09 12:37:42 -04:00
Antoni Boucher
f73dea7e55 Fix simd_bitmask 2022-10-09 11:42:12 -04:00
Antoni Boucher
1fa8b26426 Fix vector_select 2022-10-09 11:25:40 -04:00
antoyo
44e3ea3e42
Merge pull request #229 from rust-lang/fix/fmaddsub
Fix/fmaddsub
2022-10-08 16:05:48 -04:00
Antoni Boucher
74dac5d970 Fix vfmadd 2022-10-08 15:05:23 -04:00
Antoni Boucher
c573621812 Fix some vfmaddsub intrinsics 2022-10-08 14:45:17 -04:00
Antoni Boucher
23a1a86835 More debug options 2022-10-08 14:37:19 -04:00
bors
f0e40831df Auto merge of #2583 - RalfJung:rustup, r=oli-obk
initial josh subtree sync

This demonstrates what a josh-based rustup would look like with my patched josh. To create it I did
```
git fetch http://localhost:8000/rust-lang/rust.git:start=75dd959a3a40eb5b4574f8d2e23aa6efbeb33573[:prefix=src/tools/miri]:/src/tools/miri.git master
git merge FETCH_HEAD
./rustup-toolchain HEAD && ./miri fmt
git commit -am rustup
```
Unlike the [previous attempt](https://github.com/rust-lang/miri/pull/2554), this does not add a new root commit to the repo.

Once we merge this, we committed to using josh for subtree syncing, and in particular a version of josh that includes https://github.com/josh-project/josh/pull/961 (or something compatible).
2022-10-08 08:53:29 +00:00
antoyo
235414efae
Merge pull request #228 from sadlerap/simd-as
simd: enable simd_as intrinsic
2022-10-02 22:27:29 -04:00
Andy Sadler
436710fa9b
simd: enable simd_as intrinsic
The method context.convert_vector, added to libgccjit for simd_cast,
appears to give the correct behavior for simd_as.  Instead of
special-casing simd_as, re-use simd_cast's impl for simd_as.

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2022-10-02 19:04:49 -05:00
bjorn3
413edf6771 Remove type argument of array_alloca and rename to byte_array_alloca 2022-10-02 13:42:14 +00:00
bjorn3
af0b18b454 Remove dynamic_alloca from BuilderMethods 2022-10-02 13:42:02 +00:00
antoyo
86a3e3bd03
Merge pull request #227 from rust-lang/fix/warnings
Fix warnings
2022-10-01 20:22:32 -04:00
Antoni Boucher
a28618d2ef Fix warnings 2022-10-01 19:53:14 -04:00
antoyo
6f1adbd9e3
Merge pull request #226 from rust-lang/feature/llvm-prefetch
Implement llvm.prefetch
2022-10-01 18:22:06 -04:00
Antoni Boucher
a0654b398b Implement llvm.prefetch 2022-10-01 15:18:51 -04:00
bjorn3
3f43ee2407 Merge apply_attrs_callsite into call and invoke
Some codegen backends are not able to apply callsite attrs after the fact.
2022-10-01 17:01:31 +00:00
antoyo
98f0dc148d
Merge pull request #224 from rust-lang/fix/gep-release-mode
Add CI tests with a sysroot compiled in release mode
2022-10-01 12:59:27 -04:00
bjorn3
69a065ef81 Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods 2022-10-01 16:45:33 +00:00
bjorn3
29edc888bd Remove several unused methods from MiscMethods 2022-10-01 16:45:07 +00:00
bjorn3
2db7a873de Remove unused Context assoc type from WriteBackendMethods 2022-10-01 16:34:45 +00:00
Antoni Boucher
908304e257 Rewrite inbounds_gep with a loop 2022-10-01 12:31:39 -04:00
Antoni Boucher
090cde9811 Disable libcore tests because some fail 2022-10-01 12:31:39 -04:00
Antoni Boucher
6b7e16f87e Add more debugging options 2022-10-01 12:31:39 -04:00
Antoni Boucher
ed570f6678 Fix gep 2022-10-01 12:31:39 -04:00
Antoni Boucher
12105bc0d7 Fix pointer comparison 2022-09-30 18:23:37 -04:00
Antoni Boucher
af28dec7d1 Add CI tests with a sysroot compiled in release mode 2022-09-30 17:53:06 -04:00
Matthias Krüger
869203cdb2 Rollup merge of #101075 - ellishg:rustc_codegen_gcc_diagnostics, r=davidtwco
Migrate rustc_codegen_gcc to SessionDiagnostics

As part of #100717 this pr migrates diagnostics to `SessionDiagnostics` for the `rustc_codegen_gcc` crate.

``@rustbot`` label +A-translation
2022-09-30 10:22:36 +02:00