Files
clang-p2996/llvm/test/MC/PowerPC/ppc-machine.s
Fangrui Song f931290308 [PowerPC] Parse and ignore .machine
glibc/sysdeps/powerpc/powerpc64 has .machine
{altivec,power4,power5,power6,power7,power8} (.machine power9 is planned in
sysdeps/powerpc/powerpc64/power9/strcmp.S).
The diagnostic is not useful anyway so just delete it.
2020-12-28 12:20:40 -08:00

23 lines
509 B
ArmAsm

# RUN: llvm-mc -triple powerpc-unknown-unknown %s
# RUN: llvm-mc -triple powerpc64-unknown-unknown %s
# RUN: llvm-mc -triple powerpc64le-unknown-unknown %s
# RUN: llvm-mc -triple powerpc64le-unknown-unknown -filetype=null %s
# For now, the only thing we check is that the .machine directive
# is accepted without syntax error.
.machine push
.machine any
.machine pop
.machine "push"
.machine "any"
.machine "pop"
.machine ppc64
# Used in glibc.
.machine altivec
.machine power4
.machine power8