RFR(M): 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering.
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Wed Nov 13 08:54:21 PST 2013
Hi Vitaly,
we use an enum so that we have a speaking name for the value.
Sure we could use a 'final bool unordered = false' but enum seems
the proper way.
Propose a better name for Sem, I don't like it too much either!
I just used the name in our code (done by one of my former colleagues
A few years ago). I will change it if there is a better (and please short) one.
Best regards,
Goetz.
From: Vitaly Davidovich [mailto:vitalyd at gmail.com]
Sent: Mittwoch, 13. November 2013 02:31
To: Lindenmaier, Goetz
Cc: Vladimir Kozlov; hotspot-dev developers; ppc-aix-port-dev at openjdk.java.net
Subject: RE: RFR(M): 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering.
Hi Goetz,
Just curious - why an enum for both versions (load, store) and not a simple bool? You expecting more values? You wouldn't need those asserts in the accessors if this was a bool.
Also what does "Sem" stand for? Semantic? Seems like an odd abbreviation.
Thanks
Sent from my phone
On Nov 12, 2013 11:31 AM, "Lindenmaier, Goetz" <goetz.lindenmaier at sap.com<mailto:goetz.lindenmaier at sap.com>> wrote:
Hi,
I updated this webrev to work with the latest version of the staging repository.
http://cr.openjdk.java.net/~goetz/webrevs/8024921-0-ldst/
Best regards,
Goetz.
From: goetz.lindenmaier at sap.com<mailto:goetz.lindenmaier at sap.com>
Sent: Freitag, 11. Oktober 2013 15:34
To: hotspot-dev developers; ppc-aix-port-dev at openjdk.java.net<mailto:ppc-aix-port-dev at openjdk.java.net>; Vladimir Kozlov
Subject: RFR(M): 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering.
Hi,
I prepared a webrev for 8024921<https://bugs.openjdk.java.net/browse/JDK-8024921>Extend Load and Store nodes to know about memory ordering.
This is part of the PPC port.
http://cr.openjdk.java.net/~goetz/webrevs/8024921-0-ldst/
For a detailed description see the text in the webrev and bug description.
All this basically does is add a field to load and store nodes and
change all constructor calls to set this field. So the effect on
existing platforms should be very small. Therefore I marked this
'M', although quite some lines of code are touched.
Please review and test this change.
I'm happy to incorporate your comments and any improvements
you propose.
Best regards,
Goetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20131113/b9e51ddb/attachment.html
More information about the ppc-aix-port-dev
mailing list