• Home
  • Raw
  • Download

Lines Matching refs:R6

11 ; RUN:   | FileCheck %s -check-prefix=O32-R6-PIC
21 ; RUN: | FileCheck %s -check-prefix=N64-R6
53 ; O32-R6-PIC-LABEL: test1:
54 ; O32-R6-PIC: # %bb.0: # %entry
55 ; O32-R6-PIC-NEXT: lui $2, %hi(_gp_disp)
56 ; O32-R6-PIC-NEXT: addiu $2, $2, %lo(_gp_disp)
57 ; O32-R6-PIC-NEXT: bnez $4, $BB0_3
58 ; O32-R6-PIC-NEXT: addu $2, $2, $25
59 ; O32-R6-PIC-NEXT: # %bb.1: # %entry
60 ; O32-R6-PIC-NEXT: addiu $sp, $sp, -8
61 ; O32-R6-PIC-NEXT: sw $ra, 0($sp)
62 ; O32-R6-PIC-NEXT: lui $1, %hi(($BB0_4)-($BB0_2))
63 ; O32-R6-PIC-NEXT: addiu $1, $1, %lo(($BB0_4)-($BB0_2))
64 ; O32-R6-PIC-NEXT: balc $BB0_2
65 ; O32-R6-PIC-NEXT: $BB0_2: # %entry
66 ; O32-R6-PIC-NEXT: addu $1, $ra, $1
67 ; O32-R6-PIC-NEXT: lw $ra, 0($sp)
68 ; O32-R6-PIC-NEXT: jr.hb $1
69 ; O32-R6-PIC-NEXT: addiu $sp, $sp, 8
70 ; O32-R6-PIC-NEXT: $BB0_3: # %then
71 ; O32-R6-PIC-NEXT: lw $1, %got(x)($2)
72 ; O32-R6-PIC-NEXT: addiu $2, $zero, 1
73 ; O32-R6-PIC-NEXT: sw $2, 0($1)
74 ; O32-R6-PIC-NEXT: $BB0_4: # %end
75 ; O32-R6-PIC-NEXT: jrc $ra
103 ; N64-R6-LABEL: test1:
104 ; N64-R6: # %bb.0: # %entry
105 ; N64-R6-NEXT: lui $1, %hi(%neg(%gp_rel(test1)))
106 ; N64-R6-NEXT: bnez $4, .LBB0_3
107 ; N64-R6-NEXT: daddu $2, $1, $25
108 ; N64-R6-NEXT: # %bb.1: # %entry
109 ; N64-R6-NEXT: daddiu $sp, $sp, -16
110 ; N64-R6-NEXT: sd $ra, 0($sp)
111 ; N64-R6-NEXT: daddiu $1, $zero, %hi(.LBB0_4-.LBB0_2)
112 ; N64-R6-NEXT: dsll $1, $1, 16
113 ; N64-R6-NEXT: daddiu $1, $1, %lo(.LBB0_4-.LBB0_2)
114 ; N64-R6-NEXT: balc .LBB0_2
115 ; N64-R6-NEXT: .LBB0_2: # %entry
116 ; N64-R6-NEXT: daddu $1, $ra, $1
117 ; N64-R6-NEXT: ld $ra, 0($sp)
118 ; N64-R6-NEXT: jr.hb $1
119 ; N64-R6-NEXT: daddiu $sp, $sp, 16
120 ; N64-R6-NEXT: .LBB0_3: # %then
121 ; N64-R6-NEXT: daddiu $1, $2, %lo(%neg(%gp_rel(test1)))
122 ; N64-R6-NEXT: addiu $2, $zero, 1
123 ; N64-R6-NEXT: ld $1, %got_disp(x)($1)
124 ; N64-R6-NEXT: sw $2, 0($1)
125 ; N64-R6-NEXT: .LBB0_4: # %end
126 ; N64-R6-NEXT: jrc $ra