You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
48
external/llvm/test/MC/Mips/mips64shift.ll
vendored
Normal file
48
external/llvm/test/MC/Mips/mips64shift.ll
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler %s -o - \
|
||||
; RUN: | llvm-objdump -disassemble - | FileCheck %s
|
||||
|
||||
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 %s -o - \
|
||||
; RUN: | llvm-objdump -disassemble - | FileCheck %s
|
||||
|
||||
define i64 @f3(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsll ${{[0-9]+}}, ${{[0-9]+}}, 10
|
||||
%shl = shl i64 %a0, 10
|
||||
ret i64 %shl
|
||||
}
|
||||
|
||||
define i64 @f4(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsra ${{[0-9]+}}, ${{[0-9]+}}, 10
|
||||
%shr = ashr i64 %a0, 10
|
||||
ret i64 %shr
|
||||
}
|
||||
|
||||
define i64 @f5(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsrl ${{[0-9]+}}, ${{[0-9]+}}, 10
|
||||
%shr = lshr i64 %a0, 10
|
||||
ret i64 %shr
|
||||
}
|
||||
|
||||
define i64 @f6(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsll32 ${{[0-9]+}}, ${{[0-9]+}}, 8
|
||||
%shl = shl i64 %a0, 40
|
||||
ret i64 %shl
|
||||
}
|
||||
|
||||
define i64 @f7(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsra32 ${{[0-9]+}}, ${{[0-9]+}}, 8
|
||||
%shr = ashr i64 %a0, 40
|
||||
ret i64 %shr
|
||||
}
|
||||
|
||||
define i64 @f8(i64 %a0) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: dsrl32 ${{[0-9]+}}, ${{[0-9]+}}, 8
|
||||
%shr = lshr i64 %a0, 40
|
||||
ret i64 %shr
|
||||
}
|
||||
|
Reference in New Issue
Block a user