Commit Graph

3223 Commits

Author SHA1 Message Date
xonx 527ed7ff85 add optional output-dir argument 2026-05-26 04:43:06 +00:00
Amanieu d'Antras 4c6f3734fd Merge pull request #2129 from heiher/vrepl-128-ve-0-i
loongarch: Use `intrinsics::simd` for vrepl{128}ve{0,i}
2026-05-25 13:43:44 +00:00
Sayantan Chakraborty b8e62d7e63 Merge pull request #2136 from Gelbpunkt/la64-crc
Several fixes to the loongarch CRC intrinsics
2026-05-25 02:38:31 +00:00
Folkert de Vries e1dede4ffe Merge pull request #2127 from davidtwco/intrinsic-test-remove-arm-argument
intrinsic-test: remove `arm::argument` module
2026-05-24 21:59:50 +00:00
Aelin Reidel 606d022b99 loongarch: Align CRC intrinsic signatures with clang and GCC
Clang and GCC use char and short for the data parameter type where
appropriate. The LLVM intrinsics take an i32. We should match clang and
perform a cast here.
2026-05-24 23:50:54 +02:00
Aelin Reidel 035d7ddfa3 loongarch: CRC intrinsics require loongarch64
GCC and LLVM both only allow using the CRC intrinsics on LA64.
2026-05-24 23:46:26 +02:00
sayantn 44475cc694 Add intrinsic-test ICX run 2026-05-24 20:24:35 +05:30
sayantn fd9acfb428 Add intrinsic-test GCC run 2026-05-24 20:24:32 +05:30
Folkert de Vries c1e2d637c7 Merge pull request #2130 from adamgemmell/dev/adagem01/chunk-size
intrinsic-test fixes for low intrinsic, high core counts
2026-05-24 14:17:49 +00:00
Taiki Endo 8d74557a0c Workaround rustfmt issue around impl const 2026-05-23 15:36:16 +09:00
Taiki Endo 8684b3a37a stdarch-gen-hexagon-scalar: Do not emit inline(always) if target_feature is used 2026-05-23 14:55:20 +09:00
Adam Gemmell ac4c70b326 Don't run doctests 2026-05-21 17:13:42 +01:00
Adam Gemmell 4bd7165aa5 Fix chunk count 2026-05-21 17:13:31 +01:00
WANG Rui 7c7e9cd820 loongarch: Use intrinsics::simd for vrepl{128}ve{0,i} 2026-05-21 11:35:10 +08:00
Adam Gemmell 1055252e78 Merge pull request #2123 from heiher/vilv-h-l
loongarch: Use `intrinsics::simd` for vilv{h,l}
2026-05-20 15:31:08 +00:00
David Wood dfdde18e56 intrinsic-test: remove arm::argument module
This module only defined a single function that could easily just be
inlined into its only caller.
2026-05-20 15:17:04 +00:00
David Wood 810bd04ff8 intrinsic-test: add SVE-specific constraints 2026-05-20 14:31:00 +00:00
David Wood 75a35f4545 intrinsic-test: parsing of SVE types
Updates `parse_intrinsic_type` to support SVE intrinsic types, with the
limited changes required to `IntrinsicType` and relevant users of the
`simd_len` to preserve existing behaviour, assuming the tool never
attempts to generate tests for SVE intrinsics (which it doesn't yet)
2026-05-20 14:31:00 +00:00
David Wood 536b7fb266 intrinsic-test: simplify ArmIntrinsicType
`ArmIntrinsicType` does not need a `target` field and
`parse_intrinsic_type` can be a free function that returns an
`IntrinsicType` which can be wrapped in an `ArmIntrinsicType` by the
caller.
2026-05-20 14:00:09 +00:00
David Wood dac92d0b49 intrinsic-test: document common::gen_rust 2026-05-20 08:26:50 +00:00
David Wood 4c0577ac8d intrinsic-test: document common::gen_c 2026-05-20 08:26:26 +00:00
David Wood 78dd79cdb7 intrinsic-test: document common::intrinsic_helpers 2026-05-20 08:26:26 +00:00
David Wood ad2d7e97a8 intrinsic-test: document common::values 2026-05-20 08:25:55 +00:00
David Wood 938f85ac35 intrinsic-test: document common::argument module 2026-05-20 08:25:54 +00:00
David Wood d009a44975 intrinsic-test: document iter_specializations
It isn't necessarily obvious what this function does
2026-05-20 08:23:33 +00:00
David Wood 1db61fea3b intrinsic-test: document --sample-percentage
This flag was missing documentation but the other flags had documentation
2026-05-20 08:23:32 +00:00
David Wood fe3cff925a intrinsic-test: document arm intrinsic filtering
Improve documentation for Arm intrinsic filtering - why we test some
intrinsics and not others.
2026-05-20 08:23:32 +00:00
WANG Rui 41859bdf5a loongarch: Use intrinsics::simd for vilv{h,l} 2026-05-19 21:34:24 +08:00
David Wood 526ff83463 intrinsic-test: remove all indentation logic
This isn't necessary when rustfmt is being used to make sure the
generated sources are formatted.
2026-05-19 11:34:52 +00:00
David Wood 7ff768034c intrinsic-test: run rustfmt on generated sources
This allows for simplification of the intrinsic-test generator as it no
longer needs to maintain readable formatting.
2026-05-19 11:34:51 +00:00
Amanieu d'Antras d913db70df Merge pull request #2063 from sayantn/intrinsic-test
Redesign `intrinsic-test` to use simple comparison
2026-05-17 22:21:24 +00:00
sayantn deaa5091fd Disable some tests in x86 due to CI failures 2026-05-14 09:54:33 +05:30
sayantn b13eb7790b Fix _mm_sm3rnds2_epi32 2026-05-14 09:54:33 +05:30
sayantn 0415e2fda7 Disable some assert_instr tests in big-endian 2026-05-14 09:54:33 +05:30
sayantn f09bf0bf51 gen-arm: toggle big_endian_inverse where required 2026-05-14 09:54:33 +05:30
sayantn 10f4190ce5 Modify the CI scripts to work with the new design 2026-05-14 09:54:33 +05:30
sayantn a5179d0f8a Make floats static, as rounding is not a real concern here anymore 2026-05-14 09:54:33 +05:30
sayantn 0962db67bc Use pointers for the C definitions to resolve ABI inconsistencies 2026-05-14 09:54:26 +05:30
sayantn ee0c01647d Generate rust bindings and test code 2026-05-14 09:54:21 +05:30
WANG Rui 35d77fbdd0 loongarch: Use intrinsics::simd for vpick{ev,od} 2026-05-13 22:50:25 +08:00
Folkert de Vries 1458d8884f Merge pull request #2114 from heiher/vabsd
loongarch: Use `intrinsics::simd` for vabsd
2026-05-12 14:18:06 +00:00
Ralf Jung e91ca04c54 explain ignore aarch64 tests 2026-05-12 09:53:34 +02:00
Ralf Jung 3c7dee460c Update/add comments for miri-ignored tests 2026-05-12 09:14:53 +02:00
Ralf Jung a6c9e82329 zeroall/zeroupper *are* supported by Miri 2026-05-12 09:14:34 +02:00
sayantn c477e713b6 Remove code for compiling and comparing C and Rust files, made the C files wrappers 2026-05-12 06:56:09 +05:30
sayantn ffe6e2ad98 Implement vcmla_lane with ARM intrinsics 2026-05-11 21:30:40 +05:30
sayantn 0e97ab333b Correct small typo in gen-arm 2026-05-11 21:30:40 +05:30
WANG Rui 98b0121a9d loongarch: Use intrinsics::simd for vabsd 2026-05-11 20:31:22 +08:00
Folkert de Vries 1330bfbb28 Merge pull request #2106 from sayantn/cvtf16s16
Use LLVM intrinsics for `f16` to `{i,u}16` intrinsics
2026-05-11 08:16:06 +00:00
Amanieu d'Antras 46b8878c56 Add davidtwco and adamgemmell as maintainers 2026-05-10 18:56:44 +01:00