Method and apparatus for performing logical compare operations
Abstract
A method and apparatus for including in a processor instructions for performing logical-comparison and branch support operations on packed or unpacked data. In one embodiment, instruction decode logic decodes instructions for an execution unit to operate on packed data elements including logical comparisons. A register file including 128-bit packed data registers stores packed single-precision floating point (SPFP) and packed integer data elements. The logical comparisons may include comparison of SPFP data elements and comparison of integer data elements and setting at least one bit to indicate the results. Based on these comparisons, branch support actions are taken. Such branch support actions may include setting the at least one bit, which in turn may be utilized by a branching unit in response to a branch instruction. Alternatively, the branch support actions may include branching to an indicated target code location.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: receiving an instruction code that is of an instruction format comprising a first field and a second field, the first field to indicate a first multi-bit operand and the second field to indicate a second multi-bit operand; and modifying a first status flag to a first value responsive to determining that a first intermediate result of a bit-wise logical AND operation of the value in each of one or more bit positions of the first operand with the complement of the value in the same respective bit position of the second operand is zero, and modifying the first status flag to
- Claim 2Depends on #1
The method of claim 1 , wherein the first operand further comprises a first plurality of data elements including at least A 1 and A 2 as data
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- "Altivec Instruction Reference", available at http://developer.apple.com/hardwaredrivers/ve/instruction-crossref.html Gwenapp, Linley, "Altivec Vectorizes Power PC," Microprocessor Report, vol. 12, No. 6, 1988.
- "PowerPC User Instruction Set Architecture-Book 1-Version 2.01," Sep. 2003, Chapters 3.3.9 and 4.6.7 and Appendix B, section B.5.
- Apple Develop Connection, "AltiVec Instruction Cross-Reference," 2005, pp. 1-8.
- Bai Zhongying, "Principles of Computer Architecture," Science Press, 2002, pp. 159-162.
- Chinese Patent Office, Second Office Action dated Sep. 11, 2009 in related foreign patent application No. 2007101441872.