equal
deleted
inserted
replaced
320 // 8 bytes FP registers are saved by default on SPARC. |
320 // 8 bytes FP registers are saved by default on SPARC. |
321 bool SharedRuntime::is_wide_vector(int size) { |
321 bool SharedRuntime::is_wide_vector(int size) { |
322 // Note, MaxVectorSize == 8 on SPARC. |
322 // Note, MaxVectorSize == 8 on SPARC. |
323 assert(size <= 8, "%d bytes vectors are not supported", size); |
323 assert(size <= 8, "%d bytes vectors are not supported", size); |
324 return size > 8; |
324 return size > 8; |
|
325 } |
|
326 |
|
327 size_t SharedRuntime::trampoline_size() { |
|
328 return 40; |
|
329 } |
|
330 |
|
331 void SharedRuntime::generate_trampoline(MacroAssembler *masm, address destination) { |
|
332 __ set((intptr_t)destination, G3_scratch); |
|
333 __ JMP(G3_scratch, 0); |
|
334 __ delayed()->nop(); |
325 } |
335 } |
326 |
336 |
327 // The java_calling_convention describes stack locations as ideal slots on |
337 // The java_calling_convention describes stack locations as ideal slots on |
328 // a frame with no abi restrictions. Since we must observe abi restrictions |
338 // a frame with no abi restrictions. Since we must observe abi restrictions |
329 // (like the placement of the register window) the slots must be biased by |
339 // (like the placement of the register window) the slots must be biased by |