question about stubRoutines

Venkatachalam, Vasanth Vasanth.Venkatachalam at amd.com
Mon Jun 25 16:55:24 PDT 2012


Hi,

I'm trying to write a new stub routine in Hotspot's stubGenerator_x86_64.cpp. The original code for the routine is in a MASM file. I'm trying to translate this code into calls to Hotspot's assembler so that the code can be implemented into a stub routine.

The original MASM file has a large data segment (aligned to 16 bytes) which looks like:

ALIGN 16
__foostart:
                    DQ 0000000000000000h
                    DQ 3f6ff00aa0000000h
                    DQ 3f7fe02a60000000h
                    DQ 3f87dc4750000000h
                    DQ 3f8fc0a8b0000000h
                    DQ 3f93cea440000000h
                    DQ 3f97b91b00000000h
                                                    <several hundred more entries...>

This data segment is used in one of the instructions:
lea r9, QWORD PTR __foostart

Can anyone explain how to handle this data segment when writing a new StubRoutine in Hotspot?

Vasanth

--
Vasanth Venkatachalam
AMD Runtimes
(512)602-6177

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20120625/c500a9f8/attachment.html 


More information about the hotspot-dev mailing list