Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/solaris_x86/vm/solaris_x86_32.il @ 5903:da4be62fb889
7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Summary: check stack alignment on VM entry on x64.
Reviewed-by: kvn, never
author | roland |
---|---|
date | Mon, 27 Feb 2012 09:17:44 +0100 |
parents | 7ab5f6318694 |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
5902:c7987cbaf2ca | 5903:da4be62fb889 |
---|---|
33 // and is set to 0 for compatibility reason. | 33 // and is set to 0 for compatibility reason. |
34 | 34 |
35 // Get the raw thread ID from %gs:0 | 35 // Get the raw thread ID from %gs:0 |
36 .inline _raw_thread_id,0 | 36 .inline _raw_thread_id,0 |
37 movl %gs:0, %eax | 37 movl %gs:0, %eax |
38 .end | |
39 | |
40 // Get current sp | |
41 .inline _get_current_sp,0 | |
42 .volatile | |
43 movl %esp, %eax | |
38 .end | 44 .end |
39 | 45 |
40 // Get current fp | 46 // Get current fp |
41 .inline _get_current_fp,0 | 47 .inline _get_current_fp,0 |
42 .volatile | 48 .volatile |