1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc %s -triple=mips64-unknown-freebsd -show-encoding \ 2*9880d681SAndroid Build Coastguard Worker# RUN:| FileCheck --check-prefix=MIPS64 %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker# MIPS64: dmtc0 $12, $16, 2 # encoding: [0x40,0xac,0x80,0x02] 5*9880d681SAndroid Build Coastguard Worker# MIPS64: dmtc0 $12, $16, 0 # encoding: [0x40,0xac,0x80,0x00] 6*9880d681SAndroid Build Coastguard Worker# MIPS64: mtc0 $12, $16, 2 # encoding: [0x40,0x8c,0x80,0x02] 7*9880d681SAndroid Build Coastguard Worker# MIPS64: mtc0 $12, $16, 0 # encoding: [0x40,0x8c,0x80,0x00] 8*9880d681SAndroid Build Coastguard Worker# MIPS64: dmfc0 $12, $16, 2 # encoding: [0x40,0x2c,0x80,0x02] 9*9880d681SAndroid Build Coastguard Worker# MIPS64: dmfc0 $12, $16, 0 # encoding: [0x40,0x2c,0x80,0x00] 10*9880d681SAndroid Build Coastguard Worker# MIPS64: mfc0 $12, $16, 2 # encoding: [0x40,0x0c,0x80,0x02] 11*9880d681SAndroid Build Coastguard Worker# MIPS64: mfc0 $12, $16, 0 # encoding: [0x40,0x0c,0x80,0x00] 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker dmtc0 $12, $16, 2 14*9880d681SAndroid Build Coastguard Worker dmtc0 $12, $16 15*9880d681SAndroid Build Coastguard Worker mtc0 $12, $16, 2 16*9880d681SAndroid Build Coastguard Worker mtc0 $12, $16 17*9880d681SAndroid Build Coastguard Worker dmfc0 $12, $16, 2 18*9880d681SAndroid Build Coastguard Worker dmfc0 $12, $16 19*9880d681SAndroid Build Coastguard Worker mfc0 $12, $16, 2 20*9880d681SAndroid Build Coastguard Worker mfc0 $12, $16 21*9880d681SAndroid Build Coastguard Worker 22*9880d681SAndroid Build Coastguard Worker# MIPS64: dmtc2 $12, $16, 2 # encoding: [0x48,0xac,0x80,0x02] 23*9880d681SAndroid Build Coastguard Worker# MIPS64: dmtc2 $12, $16, 0 # encoding: [0x48,0xac,0x80,0x00] 24*9880d681SAndroid Build Coastguard Worker# MIPS64: mtc2 $12, $16, 2 # encoding: [0x48,0x8c,0x80,0x02] 25*9880d681SAndroid Build Coastguard Worker# MIPS64: mtc2 $12, $16, 0 # encoding: [0x48,0x8c,0x80,0x00] 26*9880d681SAndroid Build Coastguard Worker# MIPS64: dmfc2 $12, $16, 2 # encoding: [0x48,0x2c,0x80,0x02] 27*9880d681SAndroid Build Coastguard Worker# MIPS64: dmfc2 $12, $16, 0 # encoding: [0x48,0x2c,0x80,0x00] 28*9880d681SAndroid Build Coastguard Worker# MIPS64: mfc2 $12, $16, 2 # encoding: [0x48,0x0c,0x80,0x02] 29*9880d681SAndroid Build Coastguard Worker# MIPS64: mfc2 $12, $16, 0 # encoding: [0x48,0x0c,0x80,0x00] 30*9880d681SAndroid Build Coastguard Worker 31*9880d681SAndroid Build Coastguard Worker dmtc2 $12, $16, 2 32*9880d681SAndroid Build Coastguard Worker dmtc2 $12, $16 33*9880d681SAndroid Build Coastguard Worker mtc2 $12, $16, 2 34*9880d681SAndroid Build Coastguard Worker mtc2 $12, $16 35*9880d681SAndroid Build Coastguard Worker dmfc2 $12, $16, 2 36*9880d681SAndroid Build Coastguard Worker dmfc2 $12, $16 37*9880d681SAndroid Build Coastguard Worker mfc2 $12, $16, 2 38*9880d681SAndroid Build Coastguard Worker mfc2 $12, $16 39