mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
b2713e018e
The PowerPC assembler is supposed to provide a directive .machine that allows switching the supported CPU instruction set on the fly. Since we do not yet check CPU feature sets at all and always accept any available instruction, this is not really useful at this point. However, it makes sense to accept (and ignore) ".machine any" to avoid spuriously rejecting existing assembler files that use this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185924 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
300 B
ArmAsm
15 lines
300 B
ArmAsm
# RUN: llvm-mc -triple powerpc-unknown-unknown %s
|
|
# RUN: llvm-mc -triple powerpc64-unknown-unknown %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"
|
|
|