diff options
| author | 2019-07-08 05:04:38 +0000 | |
|---|---|---|
| committer | 2019-07-08 05:04:38 +0000 | |
| commit | 8f05d8533ea8eed23c7119ca1b6dc65faf92bccf (patch) | |
| tree | 2b8c9671140ff728b14cd41e296e52cd1e4016e6 /gnu/llvm/lib | |
| parent | remove duplicate hdmi.h include (diff) | |
| download | wireguard-openbsd-8f05d8533ea8eed23c7119ca1b6dc65faf92bccf.tar.xz wireguard-openbsd-8f05d8533ea8eed23c7119ca1b6dc65faf92bccf.zip | |
Fix instruction guard. This prevents the compiler from using
the MIPS64 mul instruction on pre-MIPS64 subtargets.
Diffstat (limited to 'gnu/llvm/lib')
| -rw-r--r-- | gnu/llvm/lib/Target/Mips/Mips64InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/lib/Target/Mips/Mips64InstrInfo.td b/gnu/llvm/lib/Target/Mips/Mips64InstrInfo.td index 52b58124d6f..69b773416b5 100644 --- a/gnu/llvm/lib/Target/Mips/Mips64InstrInfo.td +++ b/gnu/llvm/lib/Target/Mips/Mips64InstrInfo.td @@ -845,7 +845,7 @@ def : MipsPat<(i64 (sext (i32 (sub GPR32:$src, GPR32:$src2)))), (SUBu GPR32:$src, GPR32:$src2), sub_32)>; def : MipsPat<(i64 (sext (i32 (mul GPR32:$src, GPR32:$src2)))), (INSERT_SUBREG (i64 (IMPLICIT_DEF)), - (MUL GPR32:$src, GPR32:$src2), sub_32)>, ISA_MIPS3_NOT_32R6_64R6; + (MUL GPR32:$src, GPR32:$src2), sub_32)>, ISA_MIPS32_NOT_32R6_64R6; def : MipsPat<(i64 (sext (i32 (MipsMFHI ACC64:$src)))), (INSERT_SUBREG (i64 (IMPLICIT_DEF)), (PseudoMFHI ACC64:$src), sub_32)>; |
