Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bad4be6
interpret: call caller_location logic the same way codegen does, and …
RalfJung Oct 28, 2023
c6f5090
share the track_caller handling within a mir::Body
RalfJung Oct 28, 2023
41dcb52
Merge commit 'dde58803fd6cbb270c7a437f36a8a3a29fbef679' into sync_cg_…
bjorn3 Oct 29, 2023
51f6ac7
Merge branch 'sync_from_rust'
bjorn3 Oct 29, 2023
9a33f82
Remove inline asm support from the list of limitations
bjorn3 Oct 30, 2023
aed0ed2
Rollup merge of #117317 - RalfJung:track-caller, r=oli-obk
GuillaumeGomez Oct 30, 2023
48ca2d9
Implement llvm.fma.v* intrinsics
bjorn3 Oct 31, 2023
03c9acd
Support enum variants in offset_of!
GKFX Aug 15, 2023
361585e
Sync from rust 75b064d26970ca8e7a487072f51835ebb057d575
bjorn3 Nov 2, 2023
04f1024
Rustup to rustc 1.75.0-nightly (75b064d26 2023-11-01)
bjorn3 Nov 2, 2023
c04ceb4
Fix workaround for the `int $$0x29` issue to not crash on empty inlin…
bjorn3 Nov 2, 2023
ef37036
Disable a couple of rustc tests which are broken due to a rustc bug
bjorn3 Nov 2, 2023
909513e
Use Value instead of CValue in CInlineAsmOperand
bjorn3 Nov 2, 2023
f6a8c3a
Add real implementation of _xgetbv()
bjorn3 Nov 2, 2023
8eca01f
Remove support for compiler plugins.
nnethercote Oct 3, 2023
1f09bae
Implement min/max neon intrisics
afonso360 Nov 4, 2023
88c2e78
Implement aarch64 addp intrinsics
afonso360 Nov 4, 2023
70a6abf
Add unsigned saturating add/sub intrinsics for aarch64
afonso360 Nov 4, 2023
f824da6
Make neon example build in all arches
afonso360 Nov 4, 2023
209476e
Only import aarch64 intrinsics on aarch64
afonso360 Nov 4, 2023
6a53ace
Implement _mm256_permute2f128_ps and _mm256_permute2f128_pd intrinsics
bjorn3 Nov 5, 2023
4381949
Implement all avx2 intrinsics used by the image crate
bjorn3 Nov 5, 2023
61e38ce
Implement all SSE intrinsics used by the jpeg-decoder crate
bjorn3 Nov 7, 2023
0a35232
Implement all vendor intrinsics used by the httparse crate
bjorn3 Nov 7, 2023
ecf79a3
Implement all vendor intrinsics used by the fimg crate
bjorn3 Nov 7, 2023
9f426ce
Merge pull request #1416 from afonso360/aarch64-intrinsics-1
bjorn3 Nov 7, 2023
8649731
Implement all vendor intrinsics used by the simd-json crate
bjorn3 Nov 7, 2023
82487a9
Merge pull request #1417 from rust-lang/implement_xgetbv
bjorn3 Nov 7, 2023
6e7961a
Sync from rust 0f44eb32f1123ac93ab404d74c295263ce468343
bjorn3 Nov 10, 2023
c84d187
Rustup to rustc 1.75.0-nightly (0f44eb32f 2023-11-09)
bjorn3 Nov 10, 2023
d186b49
Merge commit 'c84d1871dc4456539b7b578830268ab3539915d0' into sync_cg_…
bjorn3 Nov 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Implement all vendor intrinsics used by the httparse crate
  • Loading branch information
bjorn3 committed Nov 7, 2023
commit 0a35232c8523968444bc8f86ed630d886cfe6525
10 changes: 10 additions & 0 deletions src/intrinsics/llvm_x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
crate::inline_asm::codegen_xgetbv(fx, xcr_no, ret);
}

"llvm.x86.sse3.ldu.dq" | "llvm.x86.avx.ldu.dq.256" => {
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_lddqu_si128&ig_expand=4009
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_lddqu_si256&ig_expand=4010
intrinsic_args!(fx, args => (ptr); intrinsic);

// FIXME correctly handle unalignedness
let val = CValue::by_ref(Pointer::new(ptr.load_scalar(fx)), ret.layout());
ret.write_cvalue(fx, val);
}

"llvm.x86.sse.cmp.ps" | "llvm.x86.sse2.cmp.pd" => {
let (x, y, kind) = match args {
[x, y, kind] => (x, y, kind),
Expand Down