TESTING BIT VALUES INSIDE VECTOR ELEMENTS

An apparatus and method of operating an apparatus are provided. The apparatus is responsive to a bit-testing instruction which specifies a source vector register and an index to perform a bit-testing procedure on plural elements stored in the source vector register to generate plural result bits. Th...

Full description

Saved in:
Bibliographic Details
Main Authors MAGKLIS, Grigorios, STEPHENS, Nigel John
Format Patent
LanguageEnglish
French
German
Published 04.05.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:An apparatus and method of operating an apparatus are provided. The apparatus is responsive to a bit-testing instruction which specifies a source vector register and an index to perform a bit-testing procedure on plural elements stored in the source vector register to generate plural result bits. The bit-testing procedure comprises, for each processed element of the plural elements, setting a respective result bit of the plural result bits in dependence on a value of a tested bit at a bit position in the processed element of the source vector register indicated by the index. This bit-testing instruction thus enables increased performance of program code which is required to perform multiple bit tests and can be suitably formulated into a vectorised form.
Bibliography:Application Number: EP20170386023