This is patch aims to add FeatureFPU into the definition of the feature, FeatureISA3_0.
There is no need to specify both predicates, IsISA3_0 and HasFPU, as a compliant implementation of ISA 3.0 should have the floating point unit.
Differential D67981
[NFC][PowerPC] Adding FeatureFPU in the definition of FeatureISA3_0 amyk on Sep 24 2019, 1:49 PM. Authored by
Details
This is patch aims to add FeatureFPU into the definition of the feature, FeatureISA3_0. There is no need to specify both predicates, IsISA3_0 and HasFPU, as a compliant implementation of ISA 3.0 should have the floating point unit.
Diff Detail Event Timeline
|
Looks like there is some misunderstanding of what FeatureISA3_0 is for?
As in the description, FeatureISA3_0 is for new instruction added in ISA 3.0, not all the instructions in ISA 3.0.
Why it need to depend on FeatureFPU?
In other words, with the new patch -mattr=-fpu will also remove isa-v30-instructions effectively.
So that means, if you add -mattr=-fpu, you can't use any of the new instruction added for P8?
Is that what you intended?