Commit ce9a35a0 authored by Bellard不干了's avatar Bellard不干了
Browse files

70

parent 846377f8
No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
"testfilePath": "/home/raki/Desktop/test/tests2/", "testfilePath": "/home/raki/Desktop/test/tests2/",
"tcclExecPath": "/opt/clfs-os/tcc-test/", "tcclExecPath": "/opt/clfs-os/tcc-test/",
// "testfilePath": "/home/raki/Desktop/test/examples/", // "testfilePath": "/home/raki/Desktop/test/examples/",
"testfile": "23_type_coercion" "testfile": "70_floating_point_literals"
// "testfile": "95_tmp" // "testfile": "95_tmp"
}, },
// "args": ["${testfilePath}${testfile}.c", "-c", "-o", "${testfilePath}tccl-${testfile}.o"] // "args": ["${testfilePath}${testfile}.c", "-c", "-o", "${testfilePath}tccl-${testfile}.o"]
......
...@@ -1310,7 +1310,8 @@ ST_FUNC void gfunc_call(int nb_args) ...@@ -1310,7 +1310,8 @@ ST_FUNC void gfunc_call(int nb_args)
assert(vtop->r2 <= 7 && r2 <= 7); assert(vtop->r2 <= 7 && r2 <= 7);
/* XXX we'd like to have 'gv' move directly into /* XXX we'd like to have 'gv' move directly into
the right class instead of us fixing it up. */ the right class instead of us fixing it up. */
EI(0x13, 0, ireg(r2), ireg(vtop->r2), 0); // mv Ra+1, RR2 // EI(0x13, 0, ireg(r2), ireg(vtop->r2), 0); // mv Ra+1, RR2
E2RI12(ADDI_D, ireg(r2), ireg(vtop->r2), 0);
vtop->r2 = r2; vtop->r2 = r2;
} }
done: done:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment