Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/CodeGen/Mips/dins.ll
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | entry: | ||||
store volatile i64 %bf.set15, i64* %bufptr.sroa.4, align 8 | store volatile i64 %bf.set15, i64* %bufptr.sroa.4, align 8 | ||||
%bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load17 = load volatile i64, i64* %bufptr.sroa.0, align 8 | %bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load17 = load volatile i64, i64* %bufptr.sroa.0, align 8 | ||||
%bf.lshr18 = lshr i64 %bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load17, 27 | %bf.lshr18 = lshr i64 %bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load17, 27 | ||||
ret i64 %bf.lshr18 | ret i64 %bf.lshr18 | ||||
} | } | ||||
; CHECK-LABEL: f123: | ; CHECK-LABEL: f123: | ||||
; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 123 | ; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 123 | ||||
; MIPS64R2: dins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 27, 37 | ; MIPS64R2: dinsm $[[R0:[0-9]+]], $[[R1:[0-9]+]], 27, 37 | ||||
; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 4 | ; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 4 | ||||
; MIPS64R2: dins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 28, 6 | ; MIPS64R2: dins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 28, 6 | ||||
; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 5 | ; MIPS64R2: daddiu $[[R0:[0-9]+]], $zero, 5 | ||||
; MIPS64R2: dins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 50, 14 | ; MIPS64R2: dinsu $[[R0:[0-9]+]], $[[R1:[0-9]+]], 50, 14 | ||||
; MIPS64R2: dsrl $[[R0:[0-9]+]], $[[R1:[0-9]+]], 50 | ; MIPS64R2: dsrl $[[R0:[0-9]+]], $[[R1:[0-9]+]], 50 | ||||
; MIPS64R2: dins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 34, 16 | ; MIPS64R2: dinsu $[[R0:[0-9]+]], $[[R1:[0-9]+]], 34, 16 | ||||
; MIPS32R2: ins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 2, 16 | ; MIPS32R2: ins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 2, 16 | ||||
; MIPS32R2-NOT: ins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 18, 46 | ; MIPS32R2-NOT: ins $[[R0:[0-9]+]], $[[R1:[0-9]+]], 18, 46 | ||||
; MIPS16-NOT: ins{{[[:space:]].*}} | ; MIPS16-NOT: ins{{[[:space:]].*}} | ||||
; int foo(volatile int x) { | ; int foo(volatile int x) { | ||||
; int y = x; | ; int y = x; | ||||
; y = y & -4; | ; y = y & -4; | ||||
Show All 22 Lines |