Skip to content

Commit bfa060f

Browse files
committed
8256051: nmethod_entry_barrier stub miscalculates xmm spill size on x86_32
Reviewed-by: shade
1 parent 96e0261 commit bfa060f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/x86/stubGenerator_x86_32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3669,7 +3669,7 @@ class StubGenerator: public StubCodeGenerator {
36693669
__ pusha();
36703670

36713671
// xmm0 and xmm1 may be used for passing float/double arguments
3672-
const int xmm_size = wordSize * 2;
3672+
const int xmm_size = wordSize * 4;
36733673
const int xmm_spill_size = xmm_size * 2;
36743674
__ subptr(rsp, xmm_spill_size);
36753675
__ movdqu(Address(rsp, xmm_size * 1), xmm1);

0 commit comments

Comments
 (0)