about summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-14 23:31:04 +0800
committerkennytm <kennytm@gmail.com>2018-03-15 00:15:57 +0800
commitbeab2e6608810ab43312f61fe226f187d017416d (patch)
tree968ebc8899cfd1b9af898af2099592dafce620e6 /src/libstd/error.rs
parent508ffa3352e734d7dae0c167773cd9a02e2a22a5 (diff)
parent0711a7a72f5828825357a4eb5db70aedb2dabef4 (diff)
downloadrust-beab2e6608810ab43312f61fe226f187d017416d.tar.gz
rust-beab2e6608810ab43312f61fe226f187d017416d.zip
Rollup merge of #48874 - jcowgill:mips-features, r=sanxiyn
bump mipsel isa leval and enable fpxx

This PR:
* Bumps the default ISA level of the mipsel targets to `mips32r2`. The big endian mips targets are already built with `mips32r2`. This is the usual baseline for the MIPS ISA these days used by other projects, although it does drop support for the 4K processor (which was the only processor released with mips32 r1). Debian no longer supports pre-R2 processors. Using R2 also improves code generation in FPXX in certain circumstances.
* Enables the FPXX floating point ABI[1] on 32-bit hard-float targets by default. This ABI adds some extra restrictions to the existing ABI which allows code to run on the two main floating point modes found on MIPS (FR0 and FR1) and remains compatible with the FR32 ABI currently in use. All code within an executable (including all shared libraries) must be compiled with FPXX/FP64 to be able to use MSA on 32-bit MIPS.
* Enables the "nooddspreg" feature with FPXX. This feature is usually enabled whenever FPXX is. It also helps workaround some issues on Loongson processors. I'm hoping this will fix some test failures mentioned in #39013.
* Adds the `fp64` feature to the MIPS whitelist. This feature must be enabled to use MSA on 32-bit MIPS, otherwise LLVM will complain.

[1] See https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
Diffstat (limited to 'src/libstd/error.rs')
0 files changed, 0 insertions, 0 deletions