Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/assembler_sparc.hpp @ 3888:4fe626cbf0bf
7066841: remove MacroAssembler::br_on_reg_cond() on sparc
Summary: Remove the macro assembler routine br_on_reg_cond() and replace the remaining calls to that routine with an equivalent.
Reviewed-by: kvn, iveresov
author | johnc |
---|---|
date | Wed, 31 Aug 2011 10:16:02 -0700 |
parents | 1af104d6cf99 |
children | d968f546734e |
comparison
equal
deleted
inserted
replaced
3887:9447b2fb6fcf | 3888:4fe626cbf0bf |
---|---|
1938 // Compares a pointer register with zero and branches on (not)null. | 1938 // Compares a pointer register with zero and branches on (not)null. |
1939 // Does a test & branch on 32-bit systems and a register-branch on 64-bit. | 1939 // Does a test & branch on 32-bit systems and a register-branch on 64-bit. |
1940 void br_null ( Register s1, bool a, Predict p, Label& L ); | 1940 void br_null ( Register s1, bool a, Predict p, Label& L ); |
1941 void br_notnull( Register s1, bool a, Predict p, Label& L ); | 1941 void br_notnull( Register s1, bool a, Predict p, Label& L ); |
1942 | 1942 |
1943 // These versions will do the most efficient thing on v8 and v9. Perhaps | |
1944 // this is what the routine above was meant to do, but it didn't (and | |
1945 // didn't cover both target address kinds.) | |
1946 void br_on_reg_cond( RCondition c, bool a, Predict p, Register s1, address d, relocInfo::relocType rt = relocInfo::none ); | |
1947 void br_on_reg_cond( RCondition c, bool a, Predict p, Register s1, Label& L); | |
1948 | |
1949 // | 1943 // |
1950 // Compare registers and branch with nop in delay slot or cbcond without delay slot. | 1944 // Compare registers and branch with nop in delay slot or cbcond without delay slot. |
1951 // | 1945 // |
1952 // ATTENTION: use these instructions with caution because cbcond instruction | 1946 // ATTENTION: use these instructions with caution because cbcond instruction |
1953 // has very short distance: 512 instructions (2Kbyte). | 1947 // has very short distance: 512 instructions (2Kbyte). |