llvm-for-llvmta/test/MC/PowerPC/ppc64-encoding-e500.s

12 lines
617 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
# Instructions specific to the e500 / e500mc cores:
# CHECK-BE: rfdi # encoding: [0x4c,0x00,0x00,0x4e]
# CHECK-LE: rfdi # encoding: [0x4e,0x00,0x00,0x4c]
rfdi
# CHECK-BE: rfmci # encoding: [0x4c,0x00,0x00,0x4c]
# CHECK-LE: rfmci # encoding: [0x4c,0x00,0x00,0x4c]
rfmci