Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 39) sorted by relevance

12

/art/test/303-verification-stress/
Dclasses-gen22 with open(name, "wt") as fp:
23 fp.write("public class Test{:03} {{\n".format(i))
24 fp.write(" static String[] array = new String[{}];\n".format(array_size))
25 fp.write(" static {\n")
27 fp.write(" array[{}] = \"string_{:04}\";\n".format(k, k))
28 fp.write(" }\n")
29 fp.write("}\n")
31 with open("src/MainTest.java", "wt") as fp:
32 fp.write("public class MainTest {\n")
33 fp.write(" public static void run() {\n")
[all …]
/art/test/023-many-interfaces/
Diface-gen22 with open("src/Interface{:03}.java".format(i), "wt") as fp:
23 fp.write("interface Interface{:03} {{\n".format(i))
25 fp.write(" int func{:03}();\n".format(i))
26 fp.write("}\n")
28 with open("func-decl", "wt") as fp:
29 fp.write(" implements\n")
31 fp.write(" Interface{:03},\n".format(i))
32 fp.write("\n")
34 fp.write(" public int func{:03}() {{ return {}; }}\n".format(i, i))
/art/runtime/arch/riscv64/
Djni_entrypoints_riscv64.S123 SAVE_GPR fp, (ALL_ARGS_SIZE + 0)
125 add fp, sp, ALL_ARGS_SIZE
146 RESTORE_GPR fp, (ALL_ARGS_SIZE + 0)
221 sd fp, (9*8)(t1) // x8, frame pointer
246 mv fp, t1
262 sd ra, -__SIZEOF_POINTER__(fp)
266 addi t1, fp, 1 // Prepare managed SP tagged for a GenericJNI frame.
272 sd ra, (FRAME_SIZE_SAVE_REFS_AND_ARGS - __SIZEOF_POINTER__)(fp)
278 mv t1, fp // Prepare untagged managed SP for the runtime method.
282 sd t0, (fp)
[all …]
Dquick_entrypoints_riscv64.S51 SAVE_GPR fp, (8*4) // Store FP just under the return address.
56 addi fp, sp, (8*4) // save frame pointer
57 .cfi_def_cfa fp, 48 - (8*4)
91 addi sp, fp, -(8*4) // restore SP (see `INVOKE_STUB_CREATE_FRAME`)
98 RESTORE_GPR fp, (8*4)
318 mv fp, sp
319 .cfi_def_cfa_register fp
325 mv a1, fp // SP for the managed frame.
375 mv sp, fp
918 SAVE_GPR fp, 26*8 // Save FP/S0.
[all …]
/art/test/642-fp-callees/
DAndroid.bp3 // Build rules for ART run-test `642-fp-callees`.
16 name: "art-run-test-642-fp-callees",
21 ":art-run-test-642-fp-callees-expected-stdout",
22 ":art-run-test-642-fp-callees-expected-stderr",
28 name: "art-run-test-642-fp-callees-expected-stdout",
29 out: ["art-run-test-642-fp-callees-expected-stdout.txt"],
36 name: "art-run-test-642-fp-callees-expected-stderr",
37 out: ["art-run-test-642-fp-callees-expected-stderr.txt"],
/art/test/813-fp-args/
DAndroid.bp3 // Build rules for ART run-test `813-fp-args`.
16 name: "art-run-test-813-fp-args",
21 ":art-run-test-813-fp-args-expected-stdout",
22 ":art-run-test-813-fp-args-expected-stderr",
28 name: "art-run-test-813-fp-args-expected-stdout",
29 out: ["art-run-test-813-fp-args-expected-stdout.txt"],
36 name: "art-run-test-813-fp-args-expected-stderr",
37 out: ["art-run-test-813-fp-args-expected-stderr.txt"],
/art/test/658-fp-read-barrier/
DAndroid.bp3 // Build rules for ART run-test `658-fp-read-barrier`.
16 name: "art-run-test-658-fp-read-barrier",
21 ":art-run-test-658-fp-read-barrier-expected-stdout",
22 ":art-run-test-658-fp-read-barrier-expected-stderr",
28 name: "art-run-test-658-fp-read-barrier-expected-stdout",
29 out: ["art-run-test-658-fp-read-barrier-expected-stdout.txt"],
36 name: "art-run-test-658-fp-read-barrier-expected-stderr",
37 out: ["art-run-test-658-fp-read-barrier-expected-stderr.txt"],
/art/test/474-fp-sub-neg/
DAndroid.bp3 // Build rules for ART run-test `474-fp-sub-neg`.
16 name: "art-run-test-474-fp-sub-neg",
21 ":art-run-test-474-fp-sub-neg-expected-stdout",
22 ":art-run-test-474-fp-sub-neg-expected-stderr",
28 name: "art-run-test-474-fp-sub-neg-expected-stdout",
29 out: ["art-run-test-474-fp-sub-neg-expected-stdout.txt"],
36 name: "art-run-test-474-fp-sub-neg-expected-stderr",
37 out: ["art-run-test-474-fp-sub-neg-expected-stderr.txt"],
Dinfo.txt4 fp calculation because we can lose the sign of zero for
8 Addition or subtraction with fp zero should not be eliminated
/art/runtime/interpreter/mterp/x86_64ng/
Dother.S129 SET_VREG_OBJECT %edx, %rax # fp[A] <- fp[B]
131 SET_VREG %edx, %rax # fp[A] <- fp[B]
142 SET_VREG_OBJECT %edx, %rax # fp[A] <- fp[B]
144 SET_VREG %edx, %rax # fp[A] <- fp[B]
151 SET_VREG_OBJECT %eax, rINSTq # fp[AA] <- exception object
159 GET_VREG %edx, %rax # edx <- fp[BBBB]
161 SET_VREG_OBJECT %edx, rINSTq # fp[A] <- fp[B]
163 SET_VREG %edx, rINSTq # fp[A] <- fp[B]
180 SET_VREG_OBJECT %eax, rINSTq # fp[A] <- fp[B]
182 SET_VREG %eax, rINSTq # fp[A] <- fp[B]
Dfloating_point.S178 fldl VREG_ADDRESS(%rcx) # %st1 <- fp[vBB]
179 fldl VREG_ADDRESS(%rax) # %st0 <- fp[vCC]
186 fstpl VREG_ADDRESS(rINSTq) # fp[vAA] <- %st
194 fldl VREG_ADDRESS(rINSTq) # vB to fp stack
196 fldl VREG_ADDRESS(%rcx) # vA to fp stack
211 flds VREG_ADDRESS(%rcx) # vBB to fp stack
212 flds VREG_ADDRESS(%rax) # vCC to fp stack
227 flds VREG_ADDRESS(rINSTq) # vB to fp stack
229 flds VREG_ADDRESS(%rcx) # vA to fp stack
/art/runtime/interpreter/mterp/x86ng/
Dother.S144 SET_VREG_OBJECT %ecx, %eax # fp[A] <- fp[B]
146 SET_VREG %ecx, %eax # fp[A] <- fp[B]
157 SET_VREG_OBJECT %ecx, %eax # fp[A] <- fp[B]
159 SET_VREG %ecx, %eax # fp[A] <- fp[B]
166 SET_VREG_OBJECT %eax, rINST # fp[AA] <- exception object
174 GET_VREG %ecx, %eax # ecx <- fp[BBBB]
176 SET_VREG_OBJECT %ecx, rINST # fp[A] <- fp[B]
178 SET_VREG %ecx, rINST # fp[A] <- fp[B]
195 SET_VREG_OBJECT %eax, rINST # fp[A] <- fp[B]
197 SET_VREG %eax, rINST # fp[A] <- fp[B]
Dfloating_point.S178 fldl VREG_ADDRESS(%ecx) # %st1 <- fp[vBB]
179 fldl VREG_ADDRESS(%eax) # %st0 <- fp[vCC]
186 fstpl VREG_ADDRESS(rINST) # fp[vAA] <- %st
194 fldl VREG_ADDRESS(rINST) # vB to fp stack
196 fldl VREG_ADDRESS(%ecx) # vA to fp stack
211 flds VREG_ADDRESS(%ecx) # vBB to fp stack
212 flds VREG_ADDRESS(%eax) # vCC to fp stack
227 flds VREG_ADDRESS(rINST) # vB to fp stack
229 flds VREG_ADDRESS(%ecx) # vA to fp stack
/art/runtime/interpreter/mterp/armng/
Dother.S30 SET_VREG r1, r0 @ fp[A]<- r1
97 VREG_INDEX_TO_ADDR r4, r4 @ r4<- &fp[AA]
109 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[AA]
122 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[AA]
136 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[AA]
177 GET_VREG r2, r1 @ r2<- fp[B]
180 SET_VREG_OBJECT r2, r0 @ fp[A]<- r2
182 SET_VREG r2, r0 @ fp[A]<- r2
192 GET_VREG r2, r1 @ r2<- fp[BBBB]
195 SET_VREG_OBJECT r2, r0 @ fp[AAAA]<- r2
[all …]
Darithmetic.S157 VREG_INDEX_TO_ADDR r4, rINST @ r4<- &fp[AA]
158 VREG_INDEX_TO_ADDR r2, r2 @ r2<- &fp[BB]
159 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[CC]
193 VREG_INDEX_TO_ADDR r1, r1 @ r1<- &fp[B]
194 VREG_INDEX_TO_ADDR r4, rINST @ r4<- &fp[A]
245 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[B]
266 VREG_INDEX_TO_ADDR r3, r3 @ r3<- &fp[B]
267 VREG_INDEX_TO_ADDR r4, rINST @ r4<- &fp[A]
290 VREG_INDEX_TO_ADDR r4, rINST @ r4<- &fp[A]
346 VREG_INDEX_TO_ADDR r2, r2 @ r2<- &fp[BB]
[all …]
/art/runtime/interpreter/mterp/riscv64/
Dother.S18 % get_vreg("t1", "t1", is_unsigned=True) # t1 = fp[B], zext
20 % get_vreg("t1", "t1", is_wide=is_wide) # t1 := fp[B]
28 % set_vreg("t1", "t2", z0="t0", is_wide=is_wide) # fp[A] := fp[B]
39 % get_vreg("t1", "t1", is_unsigned=True) # t1 = fp[BBBB], zext
41 % get_vreg("t1", "t1", is_wide=is_wide) # t1 := fp[BBBB]
48 % set_vreg("t1", "t2", z0="t0", is_wide=is_wide) # fp[AA] := fp[BBBB]
59 % get_vreg("t1", "t1", is_unsigned=True) # t1 = fp[BBBB], zext
61 % get_vreg("t1", "t1", is_wide=is_wide) # t1 := fp[BBBB]
68 % set_vreg("t1", "t2", z0="t0", is_wide=is_wide) # fp[AAAA] := fp[BBBB]
114 % set_vreg("a0", "t1", z0="t0", is_wide=is_wide) # fp[AA] := a0
[all …]
Dfloating_point.S19 % get_vreg_float("ft1", "t1", is_double=is_double) # ft1 := fp[BB]
20 % get_vreg_float("ft2", "t2", is_double=is_double) # ft2 := fp[CC]
28 % set_vreg("t2", "t0", z0="t1") # fp[AA] := result
40 % get_vreg_float("ft1", "t1", is_double=is_double) # ft1 := fp[BB]
41 % get_vreg_float("ft2", "t2", is_double=is_double) # ft2 := fp[CC]
49 % set_vreg("t2", "t0", z0="t1") # fp[AA] := result
174 % get_vreg("t1", "t0") # t1 := fp[B]
178 % get_vreg_float("ft0", "t0") # ft0 := fp[B]
197 % set_vreg("t1", "t2", z0="t0") # fp[A] := t1
201 % set_vreg_float("ft0", "t2", z0="t0") # fp[A] := ft0
Dinvoke.S1102 % copy_vregs_to_out(out=z0, fp=z1, fp_top=z2, z0=z3, uniq=uniq)
1280 %def copy_vregs_to_out(out="", fp="", fp_top="", z0="", uniq=""):
1281 sub $z0, $fp_top, $fp // z0 := byte range
1284 lwu $z0, ($fp)
1286 addi $fp, $fp, 4
1289 beq $fp, $fp_top, .L${uniq}_copy_done
1290 ld $z0, ($fp)
1292 addi $fp, $fp, 8
1337 % setup_nterp_frame(cfi_refs="23", refs="s8", fp="s9", pc="s10", regs="s11", spills_sp="t0", z0="t…
1345 % n2n_arg_move_range(refs="s8", fp="s9", regs="s11", vC="s7", z0="t0", z1="t1", z2="t2", z3="t3"…
[all …]
Dmain.S465 % setup_nterp_frame(cfi_refs="CFI_REFS", refs="xREFS", fp="xFP", pc="xPC", regs="s7", ins="s8", sp…
486 % setup_ref_args_and_go(fp="t0", refs="t1", refs_end="xFP", spills_sp="s9", z0="t2", z1="t3", done…
519 % store_gpr_to_vreg(gpr="a1", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
523 % store_gpr_to_vreg(gpr="a2", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
524 % store_gpr_to_vreg(gpr="a3", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
525 % store_gpr_to_vreg(gpr="a4", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
526 % store_gpr_to_vreg(gpr="a5", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
527 % store_gpr_to_vreg(gpr="a6", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
528 % store_gpr_to_vreg(gpr="a7", offset="t3", shorty="t2", fp="t0", refs="t1", z0="t4", z1="t5", D="s…
537 % store_outs_to_vregs(outs="t3", shorty="t2", fp="t4", refs="t1", z0="t5", z1="t6", D="s0", F="s4"…
[all …]
Darithmetic.S34 % get_vreg("t1", "t1") # t1 := fp[B] with sign extension to 64 bits
231 % get_vreg("t2", "t2", is_wide=is_wide) # t2 := fp[CC]
232 % get_vreg("t1", "t1", is_wide=is_wide) # t1 := fp[BB]
262 % get_vreg("t2", "t2") # t2 := fp[CC]
440 % get_vreg("t2", "t2") # t2 := fp[B]
518 % get_vreg("t1", "t1") # t1 := fp[B]
524 % set_vreg("t1", "t3", z0="t0") # fp[A] := t1
615 % get_vreg("t1", "t1") # t1 := fp[BB]
620 % set_vreg("t1", "t3", z0="t0") # fp[AA] := t1
Dcontrol_flow.S23 % get_vreg("a0", "t0") # a0 := fp[AA]
123 % set_vreg("t4", "t0", z0="t1") # fp[AA] := t4
Darray.S31 % get_vreg("a1", "s7") # a1 := fp[B] length
120 % get_vreg(index, index) # index := fp[CC]
233 % get_vreg("t2", "t2", width=width) # t2 := fp[AA]
/art/odrefresh/
Dodr_fs_utils_test.cc40 std::unique_ptr<File> fp(OS::CreateEmptyFile(file_path)); in CreateFile() local
41 if (!fp) { in CreateFile()
46 if (!fp->WriteFully(buffer.data(), buffer.size())) { in CreateFile()
47 fp->Erase(); in CreateFile()
51 if (fp->FlushClose() != 0) { in CreateFile()
52 fp->Erase(); in CreateFile()
/art/test/705-register-conflict/
Dinfo.txt1 Tests if blocked fp register work correctly on optimizing compiler.
/art/openjdkjvm/
DOpenjdkJvm.cc183 JNIEXPORT int jio_fprintf(FILE* fp, const char* fmt, ...) { in jio_fprintf() argument
187 int len = jio_vfprintf(fp, fmt, args); in jio_fprintf()
193 JNIEXPORT int jio_vfprintf(FILE* fp, const char* fmt, va_list args) { in jio_vfprintf() argument
194 assert(fp != nullptr); in jio_vfprintf()
195 return vfprintf(fp, fmt, args); in jio_vfprintf()

12