Hi!

On Mon, Aug 12, 2024 at 10:42:48AM +0800, Kewen.Lin wrote:
> on 2024/8/10 05:43, Segher Boessenkool wrote:
> IIUC, we want to split TARGET_P[89]_VECTOR into TARGET_P[89]_ALTIVEC and
> TARGET_P[89]_VSX (or just TARGET_POWER[89] && TARGET_VSX or TARGET_ALTIVEC)
> according to the context (VMX or VSX), and we need to split power[89]-vector
> bif stanzas, isa attributes etc.

The latter.  It is much more clear.

> One difference with this change is that previously users specify -mno-vsx to
> disable all vector insns (both VMX and VSX) on Power[89], now they should
> use -mno-altivec for that purpose.  I think it's better as it matches the
> behaviors on Power7?

No, -mno-vsx never has been a valid way to disable all vector insns.
Never.  -mno-altivec is though.


Segher

Reply via email to