Method for performing population counts on packed data types
    4.
    发明授权
    Method for performing population counts on packed data types 失效
    对打包数据类型进行人口统计的方法

    公开(公告)号:US6070237A

    公开(公告)日:2000-05-30

    申请号:US609899

    申请日:1996-03-04

    IPC分类号: G06F7/60 G06F7/00

    CPC分类号: G06F7/607 G06F2207/3828

    摘要: A novel processor for manipulating packed data. The packed data includes a first data element D1 and a second data element D2. Each of said data elements has a predetermined number of bits. The processor comprises a decoder, a register, and a circuit. The decoder is for decoding a control signal responsive to receiving the control signal. The register is coupled to the decoder. The register is for storing the packed data. The circuit is coupled to the decoder. The circuit is for generating a first result data element R1 and a second data element R2. The circuit is further for generating R1 to represent a total number bits set in D1, and the circuit is further for generating R2 to represent a total number bits set in D2.

    摘要翻译: 一种处理打包数据的新型处理器。 打包数据包括第一数据元素D1和第二数据元素D2。 每个所述数据元素具有预定数量的位。 处理器包括解码器,寄存器和电路。 解码器用于响应于接收控制信号来解码控制信号。 寄存器耦合到解码器。 寄存器用于存储打包数据。 电路耦合到解码器。 电路用于生成第一结果数据元素R1和第二数据元素R2。 电路还用于产生R1以表示在D1中设置的总数位,并且该电路还用于生成R2以表示在D2中设置的总数位。