Lines Matching refs:sp
46 asm volatile("lw %0,%2(sp);"
47 "c.lwsp %1,%2(sp);"
57 asm volatile("ld %0,%2(sp);"
58 "c.ldsp %1,%2(sp);"
68 asm volatile("fld %0,%2(sp);"
69 "c.fldsp %1,%2(sp);"
78 asm volatile("addi sp,sp,-8;"
79 "c.swsp %1,8(sp);"
80 "lw %0,8(sp);"
81 "addi sp,sp,8;"
91 asm volatile("addi sp,sp,-8;"
92 "c.sdsp %1,8(sp);"
93 "ld %0,8(sp);"
94 "addi sp,sp,8;"
104 asm volatile("addi sp,sp,-8;"
105 "c.fsdsp %1,8(sp);"
106 "fld %0,8(sp);"
107 "addi sp,sp,8;"
166 uint64_t sp = 0, rd = 0;
168 asm volatile("mv %0,sp;"
169 "c.addi16sp sp,%2;"
170 "mv %1,sp;"
171 "mv sp,%0;"
172 : "+r" (sp), "=r" (rd)
174 return rd == sp + i*16;
179 uint64_t sp = 0, rd = 0;
181 asm volatile("mv %0,sp;"
182 "c.addi4spn %1,sp,%2;"
183 : "=r" (sp), "=r" (rd)
185 return rd == sp + i*4;