Re:Ratification of the RISC-V Base ISA and Privileged Archit...
by dmitrygr on Wednesday July 10, 2019 @04:19PM
(#20406081)
why would you possibly want that?
and in what size? byte? long?
[ Parent
| on HN ]
Re:Ratification of the RISC-V Base ISA and Privileged Archit...
by IshKebab on Wednesday July 10, 2019 @05:26PM
(#20406747)
I think it's helpful for SIMD operations, in some way that I can't quite remember.
Re:Ratification of the RISC-V Base ISA and Privileged Archit...
by haneefmubarak on Wednesday July 10, 2019 @05:35PM
(#20406824)
The reasoning there would be that you could use bitwise operations to mask inputs from two vectors into one (think vectorized conditional move), which effectively allows you to easily achieve performant branch predication.
However, you can trivially achieve this the normal way by including simple instructions that allow you to select or combine vector inputs. If that's not a path they want to go down, it's also doable to take a slight performance hit and achieve the same with the use of multiplication instructions.