https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480

--- Comment #15 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Steven Munroe from comment #12)
> Also from PowerISA 3.1C
> 
> The result is placed into VSR[VRT+32], except if, for any
> byte element in VSR[VRB+32], the low-order 3 bits are not
> equal to the shift amount, then VSR[VRT+32] is undefined.
> 
> "undefined" but not "boundedly undefined"

On pretty much all implementations the vsl insn actually behaves exactly
like vslv.  But yeah, the description literally says "UNDEFINED", hrm.

> Weird. Have to ask the ISA Architects about that.

Please do.

> Implies even modern implementations may require the bit shift byte splat for
> vsl/vsr.

Yeah, I must have misread.

Reply via email to