Commit Graph

2551 Commits

Author SHA1 Message Date
Ralf Jung
d2b8c78afb fix rustdoc link failures 2019-04-14 08:43:33 +02:00
Alex Crichton
f3414889af Fix verifying instructions for MIPS
Looks like MIPS is the first architecture to have verification which
exercises the more flavorful forms of `assert_instr`, so the parsing
code for `assert_instr` needed an update.

Closes #713
2019-04-12 08:30:07 +02:00
Lokathor
3bfbff7c0c really just core_arch is needed 2019-04-11 09:40:58 +02:00
Lokathor
3848c93af5 attempt to build less 2019-04-11 09:40:58 +02:00
Lokathor
56e5d4b2e9 Use cargo xbuild
I forgot for a moment that xargo isn't the same as cargo xbuild
2019-04-11 09:40:58 +02:00
Lokathor
d9ff5ca6a3 We only want the base lib to be built, not all tests
It might sound crazy, but we're not running the tests. We're just checking that nothing extra shows up with the very limited ARM target of the GBA (armv4tdmi).
2019-04-11 09:40:58 +02:00
Lokathor
a7add0fa1d test1 2019-04-11 09:40:58 +02:00
gnzlbg
35e6a54ef9 Formatting 2019-04-11 09:36:52 +02:00
gnzlbg
9fecf396ac Add automatic-verification for MIPS MSA intrinsics 2019-04-11 09:36:52 +02:00
gnzlbg
438d260bc2 Make use of integer and pointers consistent 2019-04-11 09:36:52 +02:00
gnzlbg
0cfd07ca9c Make MIPS MSA functions public 2019-04-11 09:36:52 +02:00
Radovan Birdic
fd4cf83d42 Added msa jobs for mips*-gnu* targets 2019-04-09 09:43:17 +02:00
Radovan Birdic
acbb4b2165 Added vector types and fixed formating. 2019-04-09 09:43:17 +02:00
Radovan Birdic
d463a50b5a Implement all MSA Intrinsics 2019-04-09 09:43:17 +02:00
gnzlbg
d65a355df5 Formatting 2019-03-29 14:32:54 +01:00
Ryan Leckey
3a8eeddca4 Add bittest instructions for x85 2019-03-29 10:33:56 +01:00
Ralf Jung
cd59f3987e adjust to MaybeUninit renames 2019-03-29 10:33:23 +01:00
gnzlbg
523e2600ae _mm_pause does not require SSE2
Closes #705 .
2019-03-18 23:44:22 +01:00
Lokathor
943187ad69 gnzlbg xargo doesn't work like you thought ;_; 2019-03-18 08:57:03 +01:00
Lokathor
8960bcd5e0 I forgot that we need to install more 2019-03-18 08:57:03 +01:00
Lokathor
b0771647a8 Revert the regression, add a GBA target to avoid this again 2019-03-18 08:57:03 +01:00
Lokathor
4c24f320f4 oh, they both need double quotes, okay 2019-03-18 08:57:03 +01:00
Lokathor
5450e5248f add the double quotes 2019-03-18 08:57:03 +01:00
Lokathor
76e730f3c7 Limit this to sufficiently advanced devices 2019-03-18 08:57:03 +01:00
Paolo Teti
42cb3a07e6 Fix target arm-linux-androideabi
Move int16x2_t and uint16x2_t into dsp.rs and export to simd32.rs.
2019-03-02 23:38:16 +01:00
Paolo Teti
999066b8e2 ACLE/DSP: implement remaining intrinsics
Adds:

__smulbb, __smulbt, __smultb, __smultt, __smulwb, __smulwt
__qdbl, __smlabb, __smlabt, __smlatb, __smlatt, __smlawb, __smlawt

and related test-cases
2019-03-02 23:38:16 +01:00
Paolo Teti
2d7479844a The GE bits of the APSR are set also by USUB8 2019-02-27 23:47:50 +01:00
Paolo Teti
86a62c6865 ACLE/SIMD32: add ssub8 and usub8
- add `ssub8` and `usub8`
- bump instruction limit to 29
2019-02-27 23:47:50 +01:00
myfreeweb
5238498dbd aarch64: escape square brackets in docs
To comply with deny(intra_doc_link_resolution_failure)
2019-02-27 19:44:15 +01:00
Denys Zariaiev
59dd15f603 Correctly import core::ffi::c_void 2019-02-27 19:43:56 +01:00
Denys Zariaiev
275fc42ad8 NVPTX syscalls 2019-02-27 19:43:56 +01:00
Mateusz Mikuła
c86f0d6aa4 Remove NORUN from Travis for PPC and s390x 2019-02-25 00:06:45 +01:00
gnzlbg
f7fec1c4cc Always include ACLE when dox is defined 2019-02-24 11:30:40 +01:00
Mateusz Mikuła
57de51d0cd Revert "Allow powerpc-unknown-linux-gnu build job to fail"
This reverts commit e88b825a6c5e172f22ef55bfd66aba3ca776ed37.
2019-02-23 22:19:47 +01:00
Mateusz Mikuła
8e15fba40a Unify PPC Dockerfiles 2019-02-23 22:19:47 +01:00
Mateusz Mikuła
2148ed5db1 Upgrade EOL docker images to Ubuntu 18.04 2019-02-23 22:19:47 +01:00
gnzlbg
c91584d241 Make core_arch compatible with Rust2015 and Rust2018 2019-02-23 01:14:07 +01:00
gnzlbg
a177055824 Test Rust2018 builds 2019-02-23 01:14:07 +01:00
Taiki Endo
61414fdd62 Change imports in std_detect to edition-agnostic style 2019-02-19 17:35:37 +01:00
Jorge Aparicio
b6dda84343 cargo fmt 2019-02-18 19:29:13 +01:00
Jorge Aparicio
c78520a8da assert_instr: bump instruction limit for simd32 2019-02-18 19:29:13 +01:00
Jorge Aparicio
ccba7aa7c9 acle/{dsp,simd32}: fix unit tests 2019-02-18 19:29:13 +01:00
Jorge Aparicio
c7bbc50568 acle/ex: CLREX requires v6k 2019-02-18 19:29:13 +01:00
Mateusz Mikuła
640eb3874e Update crates/core_arch/src/acle/simd32.rs
Co-Authored-By: japaric <jorge@japaric.io>
2019-02-18 19:29:13 +01:00
Jorge Aparicio
3957baad18 fix CI 2019-02-18 19:29:13 +01:00
Jorge Aparicio
4524877a54 acle/{dsp,simd32}: add leading underscores to match ACLE spec 2019-02-18 19:29:13 +01:00
Jorge Aparicio
8cf9e1f352 conditionally declare the dmb_dsb macro 2019-02-18 19:29:13 +01:00
Jorge Aparicio
9c541c2057 add missing imports 2019-02-18 19:29:13 +01:00
Jorge Aparicio
8b747beb20 cargo fmt 2019-02-18 19:29:13 +01:00
Jorge Aparicio
a1b20cee61 acle/ex: fix raw pointer mutability 2019-02-18 19:29:13 +01:00