Antoni Boucher
4dc0bbf40e
Add dummy fast math implementation
2022-06-23 09:55:33 -04:00
Guillaume Gomez
94b345705a
Regen without invalid conversion intrinsics
2022-06-23 13:39:30 +02:00
Guillaume Gomez
2581f7e284
Don't generate *_round_mask*
intrinsics as the GCC equivalent is different
2022-06-23 13:39:30 +02:00
Guillaume Gomez
48347715fb
Regen intrinsics
2022-06-23 13:28:38 +02:00
Guillaume Gomez
08df4751b7
Update extraction of builtins from llvm-project
2022-06-23 13:27:34 +02:00
bors
6bad0d5b20
Auto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister
...
Remove the source archive functionality of ArchiveWriter
We now build archives through strictly additive means rather than taking an existing archive and potentially substracting parts. This is simpler and makes it easier to swap out the archive writer in https://github.com/rust-lang/rust/pull/97485 .
2022-06-21 16:24:56 +00:00
bjorn3
0d28d642b5
Remove the source archive functionality of ArchiveWriter
...
We now build archives through strictly additive means rather than taking
an existing archive and potentially substracting parts.
2022-06-19 12:56:31 +00:00
bjorn3
2c7038b860
Fix "Remove src_files and remove_file"
2022-06-19 12:56:31 +00:00
antoyo
94e38002bf
Merge pull request #182 from GuillaumeGomez/duplicated-intrinsics
...
Remove duplicated intrinsics and add check
2022-06-18 19:49:13 -04:00
Guillaume Gomez
8d253b9f73
Add new workflow to check for duplicated intrinsics
2022-06-18 20:29:34 +02:00
Guillaume Gomez
c297534d94
Add tool to check duplicates between manual and auto code for intrinsics
2022-06-18 20:29:34 +02:00
antoyo
302157d7bd
Merge pull request #181 from GuillaumeGomez/more-intrinsics
...
More intrinsics
2022-06-18 11:25:34 -04:00
Yuki Okushi
e4b0d3aff2
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
...
Make `std::mem::needs_drop` accept `?Sized`
This change attempts to make `needs_drop` work with types like `[u8]` and `str`.
This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676 .
2022-06-17 07:16:55 +09:00
bjorn3
489d2daec0
Remove src_files and remove_file
...
They only apply to the main source archive and their role can be
fulfilled through the skip argument of add_archive too.
2022-06-14 15:11:14 +00:00
flip1995
0acd23c1da
Add llvm.type.checked.load intrinsic
...
Add the intrinsic
declare {i8*, i1} @llvm.type.checked.load(i8* %ptr, i32 %offset, metadata %type)
This is used in the VFE optimization when lowering loading functions
from vtables to LLVM IR. The `metadata` is used to map the function to
all vtables this function could belong to. This ensures that functions
from vtables that might be used somewhere won't get removed.
2022-06-14 14:50:52 +02:00
Antoni Boucher
8ac2af17ca
Update cross-compiling instructions
2022-06-10 08:02:24 -04:00
antoyo
e48c92e391
Merge pull request #176 from rust-lang/feature/more-simd
...
Feature/more simd
2022-06-09 22:12:32 -04:00
Antoni Boucher
ee4755afdb
Add more SIMD
2022-06-09 21:11:30 -04:00
Guillaume Gomez
c66055c193
Generate new intrinsics
2022-06-09 14:25:48 +02:00
Guillaume Gomez
558f124f96
Use llvm-tblgen
tool to generate more and better intrinsics output
2022-06-09 14:25:35 +02:00
Antoni Boucher
fc7030130e
Remove unused macro rule
2022-06-07 08:50:13 -04:00
Antoni Boucher
2ba5845c52
Update Cargo files
2022-06-06 22:08:07 -04:00
Antoni Boucher
13fa30c6c3
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
b55bd956dc
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
e5a1bb2f59
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
fe606eb444
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
df85771b34
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
06073c9dfc
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
2fa6a9080b
Add more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
f59d345fc1
Refactor
2022-06-06 22:08:07 -04:00
Antoni Boucher
4e802c84c5
Remove intrinsics that were adding by the updated script
2022-06-06 22:08:07 -04:00
Antoni Boucher
3b35940443
Implement more SIMD
2022-06-06 22:08:07 -04:00
Antoni Boucher
fac57d9a06
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
2022-06-06 22:04:37 -04:00
antoyo
e8dca3e87d
Merge pull request #179 from rust-lang/sync_from_rust2
...
Sync from rust2
2022-06-06 22:03:09 -04:00
Antoni Boucher
fb69f73d67
Fix exactudiv
2022-06-06 21:17:14 -04:00
Antoni Boucher
8697dec532
Update toolchain
2022-06-06 20:57:49 -04:00
Antoni Boucher
bafdded12b
Merge branch 'master' into sync_from_rust2
2022-06-06 20:57:25 -04:00
Nikolai Vazquez
1d3037a107
Fix unsized field order
2022-06-03 12:58:36 -04:00
Nikolai Vazquez
be34cb35c7
Make std::mem::needs_drop
accept ?Sized
2022-06-03 03:28:19 -04:00
antoyo
7e0a42b492
Merge pull request #165 from yvt/fix-const-memattr
...
Define immutable statics with const qualified types
2022-05-28 09:24:50 -04:00
yvt
10a9c0e57f
Mark immutable globals as read-only with LValue::global_set_readonly
2022-05-28 15:18:15 +09:00
Mark Rousskov
a513b2abae
Finish bumping stage0
...
It looks like the last time had left some remaining cfg's -- which made me think
that the stage0 bump was actually successful. This brings us to a released 1.62
beta though.
2022-05-27 07:36:17 -04:00
yvt
f26eb5a7a2
Update gccjit
2022-05-25 23:58:53 +09:00
Tomasz Miąsko
4620b9f823
rustc_codegen_ssa: derive copy and clone for various enums
2022-05-25 10:34:35 +02:00
Tomasz Miąsko
8f0f6e365c
rustc_codegen_ssa: cleanup AtomicOrdering
...
* Remove unused `NotAtomic` ordering.
* Rename `Monotonic` to `Relaxed` - a Rust specific name.
2022-05-25 10:34:35 +02:00
Connor Horman
084d2d7c49
Handle tmm_reg in rustc_codegen_gcc
2022-05-17 06:34:58 -04:00
antoyo
e6dbecdff3
Merge pull request #175 from GuillaumeGomez/llvmint-update
...
Update llvmint
2022-05-15 10:25:28 -04:00
Guillaume Gomez
cede91971a
Add tools/llvmint-2 to ignored entries
2022-05-15 15:31:25 +02:00
Guillaume Gomez
bac878c9a3
Add instrinsics from aweinstock314's llvmint as well
2022-05-15 15:25:12 +02:00
Guillaume Gomez
e25e2c3b94
Regenerate JSON file for llvmint every time
2022-05-15 15:25:12 +02:00