brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 5af8be6 Raw
25 lines · plain
1# RUN: llvm-mc -triple powerpc64-unknown-unknown -mattr=+modern-aix-as --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s2# RUN: llvm-mc -triple powerpc64le-unknown-unknown -mattr=+modern-aix-as --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s3# RUN: llvm-mc -triple powerpc64le-unknown-unknown -mattr=-modern-aix-as --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s4# RUN: not llvm-mc -triple powerpc64le-unknown-unknown -mattr=+aix --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s5# RUN: llvm-mc -triple powerpc-aix-ibm-xcoff -mattr=+modern-aix-as --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-BE %s6# RUN: not llvm-mc -triple powerpc-aix-ibm-xcoff --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s7 8# CHECK-BE: mtudscr 2                       # encoding: [0x7c,0x43,0x03,0xa6]9# CHECK-LE: mtudscr 2                       # encoding: [0xa6,0x03,0x43,0x7c]10# CHECK-OLD: instruction use requires an option to be enabled11            mtudscr 212# CHECK-BE: mfudscr 2                       # encoding: [0x7c,0x43,0x02,0xa6]13# CHECK-LE: mfudscr 2                       # encoding: [0xa6,0x02,0x43,0x7c]14# CHECK-OLD: instruction use requires an option to be enabled15            mfudscr 216# CHECK-BE: xxspltd 2, 3, 0                 # encoding: [0xf0,0x43,0x18,0x50]17# CHECK-LE: xxspltd 2, 3, 0                 # encoding: [0x50,0x18,0x43,0xf0]18# CHECK-OLD: instruction use requires an option to be enabled19            xxspltd 2, 3, 020 21# CHECK-BE: xxspltd 2, 3, 1                 # encoding: [0xf0,0x43,0x1b,0x50]22# CHECK-LE: xxspltd 2, 3, 1                 # encoding: [0x50,0x1b,0x43,0xf0]23# CHECK-OLD: instruction use requires an option to be enabled24            xxspltd 2, 3, 125