xref: /aosp_15_r20/external/llvm/test/MC/PowerPC/ppc64-encoding-e500.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker# Instructions specific to the e500 / e500mc cores:
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rfdi                            # encoding: [0x4c,0x00,0x00,0x4e]
7*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rfdi                            # encoding: [0x4e,0x00,0x00,0x4c]
8*9880d681SAndroid Build Coastguard Worker            rfdi
9*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rfmci                            # encoding: [0x4c,0x00,0x00,0x4c]
10*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rfmci                            # encoding: [0x4c,0x00,0x00,0x4c]
11*9880d681SAndroid Build Coastguard Worker            rfmci
12