- 专利标题: Rapid character substring searching
-
申请号: US15957984申请日: 2018-04-20
-
公开(公告)号: US10169451B1公开(公告)日: 2019-01-01
- 发明人: Stefan Payer , Razvan Peter Figuli , Cedric Lichtenau , Michael Klein
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Stosch Sabo
- 主分类号: H03K19/173
- IPC分类号: H03K19/173 ; G06F17/30 ; H03K19/177 ; G06F17/16 ; G06F9/30 ; H03K19/20
摘要:
A processor unit can be used to rapidly search a string of characters. The processor unit can include vector registers each having M vector elements, each vector element having n bits of data for containing an encoded character. An M×M matrix of comparators within the processor unit can be used to compare elements of a first register storing a reference string and elements of a second register storing a target string. A logic gate is associated with each diagonal of the matrix of comparators, and is configured to combine the results of comparators along the diagonal, resulting in a bit vector indicating characters of the target string that fully match the reference string and characters that partially match the reference string. Correction logic within the processor unit can suppress indications of a partial match or of a full match in the bit vector.
信息查询
IPC分类: