You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
libcxx
libcxxabi
libunwind
lld
lldb
llvm
bindings
cmake
docs
examples
include
lib
projects
resources
runtimes
scripts
test
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen
DebugInfo
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LTO
Linker
MC
AArch64
AMDGPU
ARM
AVR
AsmParser
BPF
COFF
Disassembler
ELF
Hexagon
Lanai
MachO
Markup
Mips
PowerPC
dcbt.s
deprecated-p7.s
directive-parse-err.s
htm.s
invalid-instructions-spellcheck.s
lcomm.s
lit.local.cfg
ppc-llong.s
ppc-machine.s
ppc-nop.s
ppc-reloc.s
ppc-separator.s
ppc-word.s
ppc32-ba.s
ppc32-extpid-e500.s
ppc64-abiversion.s
ppc64-encoding-4xx.s
ppc64-encoding-6xx.s
ppc64-encoding-bookII.s
ppc64-encoding-bookIII.s
ppc64-encoding-e500.s
ppc64-encoding-ext.s.REMOVED.git-id
ppc64-encoding-fp.s
ppc64-encoding-p8vector.s
ppc64-encoding-spe.s
ppc64-encoding-vmx.s
ppc64-encoding.s
ppc64-errors.s
ppc64-fixup-apply.s
ppc64-fixup-explicit.s
ppc64-fixups.s
ppc64-initial-cfa.s
ppc64-localentry-error1.s
ppc64-localentry-error2.s
ppc64-localentry.s
ppc64-operands.s
ppc64-regs.s
ppc64-relocs-01.s
ppc64-tls-relocs-01.s
pr24686.s
qpx.s
st-other-crash.s
tls-gd-obj.s
tls-ie-obj.s
tls-ld-obj.s
vsx.s
RISCV
Sparc
SystemZ
WebAssembly
X86
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO
Transforms
Unit
Verifier
YAMLParser
tools
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in
tools
unittests
utils
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in
openmp
polly
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mk
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
104 lines
2.6 KiB
ArmAsm
104 lines
2.6 KiB
ArmAsm
![]() |
|
||
|
# RUN: not llvm-mc -triple powerpc64-unknown-unknown < %s 2> %t
|
||
|
# RUN: FileCheck < %t %s
|
||
|
# RUN: not llvm-mc -triple powerpc64le-unknown-unknown < %s 2> %t
|
||
|
# RUN: FileCheck < %t %s
|
||
|
|
||
|
# Register operands
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: add 32, 32, 32
|
||
|
add 32, 32, 32
|
||
|
|
||
|
# CHECK: error: invalid register name
|
||
|
# CHECK-NEXT: add %r32, %r32, %r32
|
||
|
add %r32, %r32, %r32
|
||
|
|
||
|
# TLS register operands
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: add 3, symbol@tls, 4
|
||
|
add 3, symbol@tls, 4
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: subf 3, 4, symbol@tls
|
||
|
subf 3, 4, symbol@tls
|
||
|
|
||
|
# Signed 16-bit immediate operands
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: addi 1, 0, -32769
|
||
|
addi 1, 0, -32769
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: addi 1, 0, 32768
|
||
|
addi 1, 0, 32768
|
||
|
|
||
|
# Unsigned 16-bit immediate operands
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ori 1, 2, -1
|
||
|
ori 1, 2, -1
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ori 1, 2, 65536
|
||
|
ori 1, 2, 65536
|
||
|
|
||
|
# Signed 16-bit immediate operands (extended range for addis)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
addis 1, 0, -65537
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
addis 1, 0, 65536
|
||
|
|
||
|
# D-Form memory operands
|
||
|
|
||
|
# CHECK: error: invalid register number
|
||
|
# CHECK-NEXT: lwz 1, 0(32)
|
||
|
lwz 1, 0(32)
|
||
|
|
||
|
# CHECK: error: invalid register name
|
||
|
# CHECK-NEXT: lwz 1, 0(%r32)
|
||
|
lwz 1, 0(%r32)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: lwz 1, -32769(2)
|
||
|
lwz 1, -32769(2)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: lwz 1, 32768(2)
|
||
|
lwz 1, 32768(2)
|
||
|
|
||
|
# CHECK: error: invalid register number
|
||
|
# CHECK-NEXT: ld 1, 0(32)
|
||
|
ld 1, 0(32)
|
||
|
|
||
|
# CHECK: error: invalid register name
|
||
|
# CHECK-NEXT: ld 1, 0(%r32)
|
||
|
ld 1, 0(%r32)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ld 1, 1(2)
|
||
|
ld 1, 1(2)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ld 1, 2(2)
|
||
|
ld 1, 2(2)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ld 1, 3(2)
|
||
|
ld 1, 3(2)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ld 1, -32772(2)
|
||
|
ld 1, -32772(2)
|
||
|
|
||
|
# CHECK: error: invalid operand for instruction
|
||
|
# CHECK-NEXT: ld 1, 32768(2)
|
||
|
ld 1, 32768(2)
|
||
|
|
||
|
# CHECK: error: invalid modifier 'got' (no symbols present)
|
||
|
addi 4, 3, 123@got
|
||
|
# CHECK-NEXT: addi 4, 3, 123@got
|