1222 |
1222 |
1223 assert_not_delayed(); |
1223 assert_not_delayed(); |
1224 // Relocation with special format (see relocInfo_sparc.hpp). |
1224 // Relocation with special format (see relocInfo_sparc.hpp). |
1225 relocate(rspec, 1); |
1225 relocate(rspec, 1); |
1226 // Assembler::sethi(0x3fffff, d); |
1226 // Assembler::sethi(0x3fffff, d); |
1227 emit_long( op(branch_op) | rd(d) | op2(sethi_op2) | hi22(0x3fffff) ); |
1227 emit_int32( op(branch_op) | rd(d) | op2(sethi_op2) | hi22(0x3fffff) ); |
1228 // Don't add relocation for 'add'. Do patching during 'sethi' processing. |
1228 // Don't add relocation for 'add'. Do patching during 'sethi' processing. |
1229 add(d, 0x3ff, d); |
1229 add(d, 0x3ff, d); |
1230 |
1230 |
1231 } |
1231 } |
1232 |
1232 |
1238 |
1238 |
1239 assert_not_delayed(); |
1239 assert_not_delayed(); |
1240 // Relocation with special format (see relocInfo_sparc.hpp). |
1240 // Relocation with special format (see relocInfo_sparc.hpp). |
1241 relocate(rspec, 1); |
1241 relocate(rspec, 1); |
1242 // Assembler::sethi(encoded_k, d); |
1242 // Assembler::sethi(encoded_k, d); |
1243 emit_long( op(branch_op) | rd(d) | op2(sethi_op2) | hi22(encoded_k) ); |
1243 emit_int32( op(branch_op) | rd(d) | op2(sethi_op2) | hi22(encoded_k) ); |
1244 // Don't add relocation for 'add'. Do patching during 'sethi' processing. |
1244 // Don't add relocation for 'add'. Do patching during 'sethi' processing. |
1245 add(d, low10(encoded_k), d); |
1245 add(d, low10(encoded_k), d); |
1246 |
1246 |
1247 } |
1247 } |
1248 |
1248 |