COUNTING ELEMENTS IN DATA ITEMS IN A DATA PROCESSING APPARATUS

    公开(公告)号:US20190042253A1

    公开(公告)日:2019-02-07

    申请号:US15665781

    申请日:2017-08-01

    Applicant: ARM Limited

    Abstract: An apparatus and method of operating the apparatus are provided for performing a count operation. Instruction decoder circuitry is responsive to a count instruction specifying an input data item to generate control signals to control the data processing circuitry to perform a count operation. The count operation determines a count value indicative of a number of input elements of a subset of elements in the specified input data item which have a value which matches a reference value in a reference element in a reference data item. A plurality of count operations may be performed to determine a count data item corresponding to the input data item. A register scatter storage instruction, a gather index generation instruction, and respective apparatuses responsive to them, as well as simulator implementations, are also provided.

    MATCHING CONSECUTIVE VALUES IN A DATA PROCESSING APPARATUS

    公开(公告)号:US20190042190A1

    公开(公告)日:2019-02-07

    申请号:US15665715

    申请日:2017-08-01

    Applicant: ARM Limited

    Abstract: An apparatus and a method of operating the apparatus are provided for performing a comparison operation to match a given sequence of values within an input vector. Instruction decoder circuitry is responsive to a string match instruction specifying a segment of an input vector to generate control signals to control the data processing circuitry to perform a comparison operation. The comparison operation determines a comparison value indicative of whether each input element of a required set of consecutive input elements of the segment has a value which matches a respective value in consecutive reference elements of the reference data item. A plurality of comparison operations may be performed to determine a match vector corresponding to the segment of the input vector to indicate the start position of the substring in the input vector. A string match instruction, as well as simulator virtual machine implementations, are also provided.

Patent Agency Ranking