You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm
bindings
cmake
docs
examples
include
lib
projects
resources
runtimes
scripts
test
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen
AArch64
AMDGPU
ARC
ARM
AVR
BPF
Generic
Hexagon
Inputs
Lanai
MIR
MSP430
Mips
NVPTX
Nios2
PowerPC
RISCV
SPARC
SystemZ
Thumb
Thumb2
2009-07-17-CrossRegClassCopy.ll
2009-07-21-ISelBug.ll
2009-07-23-CPIslandBug.ll
2009-07-30-PEICrash.ll
2009-08-01-WrongLDRBOpc.ll
2009-08-02-CoalescerBug.ll
2009-08-04-CoalescerAssert.ll
2009-08-04-CoalescerBug.ll
2009-08-04-ScavengerAssert.ll
2009-08-04-SubregLoweringBug.ll
2009-08-04-SubregLoweringBug2.ll
2009-08-04-SubregLoweringBug3.ll
2009-08-06-SpDecBug.ll
2009-08-07-CoalescerBug.ll
2009-08-07-NeonFPBug.ll
2009-08-08-ScavengerAssert.ll
2009-08-10-ISelBug.ll
2009-08-21-PostRAKill4.ll
2009-09-01-PostRAProlog.ll
2009-10-15-ITBlockBranch.ll
2009-11-01-CopyReg2RegBug.ll
2009-11-11-ScavengerAssert.ll
2009-11-13-STRDBug.ll
2009-12-01-LoopIVUsers.ll
2010-01-06-TailDuplicateLabels.ll
2010-01-19-RemovePredicates.ll
2010-02-11-phi-cycle.ll
2010-02-24-BigStack.ll
2010-03-08-addi12-ccout.ll
2010-03-15-AsmCCClobber.ll
2010-04-15-DynAllocBug.ll
2010-04-26-CopyRegCrash.ll
2010-05-24-rsbs.ll
2010-06-14-NEONCoalescer.ll
2010-06-19-ITBlockCrash.ll
2010-06-21-TailMergeBug.ll
2010-08-10-VarSizedAllocaBug.ll
2010-11-22-EpilogueBug.ll
2010-12-03-AddSPNarrowing.ll
2011-04-21-FILoweringBug.ll
2011-06-07-TwoAddrEarlyClobber.ll
2011-12-16-T2SizeReduceAssert.ll
2012-01-13-CBNZBug.ll
2013-02-19-tail-call-register-hint.ll
2013-03-02-vduplane-nonconstant-source-index.ll
2013-03-06-vector-sext-operand-scalarize.ll
aapcs.ll
aligned-constants.ll
aligned-spill.ll
bfi.ll
bfx.ll
bicbfi.ll
buildvector-crash.ll
carry.ll
cbnz.ll
constant-islands-jump-table.ll
constant-islands-new-island-padding.ll
constant-islands-new-island.ll
constant-islands.ll.REMOVED.git-id
cortex-fp.ll
crash.ll
cross-rc-coalescing-1.ll
cross-rc-coalescing-2.ll
div.ll
emit-unwinding.ll
float-cmp.ll
float-intrinsics-double.ll
float-intrinsics-float.ll
float-ops.ll
frame-pointer.ll
frameless.ll
frameless2.ll
ifcvt-compare.ll
ifcvt-neon-deprecated.mir
ifcvt-no-branch-predictor.ll
ifcvt-rescan-bug-2016-08-22.ll
ifcvt-rescan-diamonds.ll
inflate-regs.ll
inlineasm.ll
intrinsics-cc.ll
intrinsics-coprocessor.ll
large-call.ll
large-stack.ll
ldr-str-imm12.ll
lit.local.cfg
longMACt.ll
lsr-deficiency.ll
machine-licm.ll
mul_const.ll
pic-load.ll
segmented-stacks.ll
setjmp_longjmp.ll
stack_guard_remat.ll
t2sizereduction.mir
tail-call-r9.ll
tbb-removeadd.mir
thumb2-adc.ll
thumb2-add.ll
thumb2-add2.ll
thumb2-add3.ll
thumb2-add4.ll
thumb2-add5.ll
thumb2-add6.ll
thumb2-and.ll
thumb2-and2.ll
thumb2-asr.ll
thumb2-asr2.ll
thumb2-bcc.ll
thumb2-bfc.ll
thumb2-bic.ll
thumb2-branch.ll
thumb2-call-tc.ll
thumb2-call.ll
thumb2-cbnz.ll
thumb2-clz.ll
thumb2-cmn.ll
thumb2-cmn2.ll
thumb2-cmp.ll
thumb2-cpsr-liveness.ll
thumb2-eor.ll
thumb2-eor2.ll
thumb2-ifcvt1-tc.ll
thumb2-ifcvt1.ll
thumb2-ifcvt2.ll
thumb2-ifcvt3.ll
thumb2-jtb.ll
thumb2-ldm.ll
thumb2-ldr.ll
thumb2-ldr_ext.ll
thumb2-ldr_post.ll
thumb2-ldr_pre.ll
thumb2-ldrb.ll
thumb2-ldrd.ll
thumb2-ldrh.ll
thumb2-lsl.ll
thumb2-lsl2.ll
thumb2-lsr.ll
thumb2-lsr2.ll
thumb2-lsr3.ll
thumb2-mla.ll
thumb2-mls.ll
thumb2-mov.ll
thumb2-mul.ll
thumb2-mulhi.ll
thumb2-mvn.ll
thumb2-mvn2.ll
thumb2-neg.ll
thumb2-orn.ll
thumb2-orn2.ll
thumb2-orr.ll
thumb2-orr2.ll
thumb2-pack.ll
thumb2-rev.ll
thumb2-rev16.ll
thumb2-ror.ll
thumb2-rsb.ll
thumb2-rsb2.ll
thumb2-sbc.ll
thumb2-select.ll
thumb2-select_xform.ll
thumb2-shifter.ll
thumb2-smla.ll
thumb2-smul.ll
thumb2-spill-q.ll
thumb2-str.ll
thumb2-str_post.ll
thumb2-str_pre.ll
thumb2-strb.ll
thumb2-strh.ll
thumb2-sub.ll
thumb2-sub2.ll
thumb2-sub3.ll
thumb2-sub4.ll
thumb2-sub5.ll
thumb2-sxt-uxt.ll
thumb2-sxt_rot.ll
thumb2-tbb.ll
thumb2-tbh.ll
thumb2-teq.ll
thumb2-teq2.ll
thumb2-tst.ll
thumb2-tst2.ll
thumb2-uxt_rot.ll
thumb2-uxtb.ll
tls1.ll
tls2.ll
tpsoft.ll
v8_IT_1.ll
v8_IT_2.ll
v8_IT_3.ll
v8_IT_4.ll
v8_IT_5.ll
v8_IT_6.ll
WebAssembly
WinEH
X86
XCore
DebugInfo
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LTO
Linker
MC
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
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
libgc
llvm
m4
man
mcs
mk
mono
msvc
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
62 lines
1.7 KiB
LLVM
62 lines
1.7 KiB
LLVM
![]() |
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-THUMB
|
||
|
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=cortex-m3 -mattr=+thumb2 %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-THUMBV7M
|
||
|
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=swift %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-HWDIV
|
||
|
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=cortex-r4 %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-HWDIV
|
||
|
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=cortex-r4f %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-HWDIV
|
||
|
; RUN: llc -mtriple=thumb-apple-darwin -mcpu=cortex-r5 %s -o - \
|
||
|
; RUN: | FileCheck %s -check-prefix=CHECK-HWDIV
|
||
|
|
||
|
define i32 @f1(i32 %a, i32 %b) {
|
||
|
entry:
|
||
|
; CHECK-THUMB: f1
|
||
|
; CHECK-THUMB: __divsi3
|
||
|
; CHECK-THUMBV7M: f1
|
||
|
; CHECK-THUMBV7M: sdiv
|
||
|
; CHECK-HWDIV: f1
|
||
|
; CHECK-HWDIV: sdiv
|
||
|
%tmp1 = sdiv i32 %a, %b ; <i32> [#uses=1]
|
||
|
ret i32 %tmp1
|
||
|
}
|
||
|
|
||
|
define i32 @f2(i32 %a, i32 %b) {
|
||
|
entry:
|
||
|
; CHECK-THUMB: f2
|
||
|
; CHECK-THUMB: __udivsi3
|
||
|
; CHECK-THUMBV7M: f2
|
||
|
; CHECK-THUMBV7M: udiv
|
||
|
; CHECK-HWDIV: f2
|
||
|
; CHECK-HWDIV: udiv
|
||
|
%tmp1 = udiv i32 %a, %b ; <i32> [#uses=1]
|
||
|
ret i32 %tmp1
|
||
|
}
|
||
|
|
||
|
define i32 @f3(i32 %a, i32 %b) {
|
||
|
entry:
|
||
|
; CHECK-THUMB: f3
|
||
|
; CHECK-THUMB: __modsi3
|
||
|
; CHECK-THUMBV7M: f3
|
||
|
; CHECK-THUMBV7M: sdiv
|
||
|
; CHECK-HWDIV: f3
|
||
|
; CHECK-HWDIV: sdiv
|
||
|
%tmp1 = srem i32 %a, %b ; <i32> [#uses=1]
|
||
|
ret i32 %tmp1
|
||
|
}
|
||
|
|
||
|
define i32 @f4(i32 %a, i32 %b) {
|
||
|
entry:
|
||
|
; CHECK-THUMB: f4
|
||
|
; CHECK-THUMB: __umodsi3
|
||
|
; CHECK-THUMBV7M: f4
|
||
|
; CHECK-THUMBV7M: udiv
|
||
|
; CHECK-HWDIV: f4
|
||
|
; CHECK-HWDIV: udiv
|
||
|
%tmp1 = urem i32 %a, %b ; <i32> [#uses=1]
|
||
|
ret i32 %tmp1
|
||
|
}
|
||
|
|