RFR(XS): 8035394: PPC64: Make usage of intrinsic dsqrt depend on processor recognition.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Feb 20 02:22:15 PST 2014


Only some PPC processors have a sqrt instruction.

Currently, intrinsic for dsqrt is used if a corresponding rule is implemented in the .ad file (has_match_rule()).
Instead, call match_ruole_supported(), which allows to check processor properties.

Also adapt PPC64 .ad file to this.

Please review and test this change

It also needs to go to jdk8u via ppc-aix-port/stage.

Best regards,

More information about the hotspot-dev mailing list