RFR: 8276563: Undefined Behaviour in class Assembler [v3]
Andrew Haley
aph at openjdk.java.net
Sat Nov 13 17:16:33 UTC 2021
On Sat, 13 Nov 2021 10:12:43 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Great catch! I'll have a look at how this function is used. It's a little bit awkward that there is not a simple 1-to-1 mapping between register numbers and register names.
>
> I understood the function as "return the functional name of the register, if there is one, otherwise return "r number".
Yes, but the problem is that Register 31 has more than one name. I guess "r31" is the best we can do.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6280
More information about the hotspot-compiler-dev
mailing list