Patents
US 9,454,367 B2#18876283 Most CitedActiveUnited States (USPTO)Utility

Finding the length of a set of character data having a termination character

6Forward Citations (#18876283 Global)
0.6/yrCitation Velocity (#13271981 Global)
1.21Citation PageRank (#31740100 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The length of character data having a termination character is determined. The character data for which the length is to be determined is loaded, in parallel, within one or more vector registers. An instruction is used that loads data in a vector register to a specified boundary, and provides a way to determine the number of characters loaded, using, for instance, another instruction. Further, an instruction is used to find the index of the first termination character, e.g., the first zero or null character. This instruction searches the data in parallel for the termination character. By using these instructions, the length of the character data is determined using only one branch instruction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 6.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer program product for determining a length of a set of data, the computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: loading from memory to a register data that is within a specified block of memory, the data being at least a portion of the set of data for which the length is to be determined, the set of data for which the length is to be determined having a termination character, the termination character indicating a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,852,049 AVector mask operation control unit198947
US 5,073,864 AParallel string processor and method for a minicomputer1991133
US 5,222,225 AApparatus for processing character string moves in a data processing system199361
WO 9,429,790 A1Method and apparatus for finding a termination character within a variable length character string or a processor—52
US 5,410,661 ACharacter string copying method199537
US 5,495,592 ASystem for finding and setting address portion of variable-length character string by XOR-ing portion in number of bytes within single instruction199642
US 5,497,468 AData processor that utilizes full data width when processing a string operation199638
US 5,551,013 AMultiprocessor for hardware emulation1996599
US 5,574,873 ADecoding guest instruction to directly access emulation routines that emulate the guest instructions1996543
US 5,608,887 AMethod of processing data strings199728
BR 0,305,882 ADispositivo de acondicionamento de um produto fluido—0
US 5,790,825 AMethod for emulating guest instructions on a host computer through dynamic recompilation of host instructions1998540
US 5,812,147 AInstruction methods for performing data formatting while moving data between memory and a vector register file1998121
US 5,931,940 ATesting and string instructions for data stored on memory byte boundaries in a word oriented machine199951
US 6,009,261 APreprocessing of stored target routines for emulating incompatible instructions on a target processor1999525
US 6,094,695 AStorage buffer that dynamically adjusts boundary between two storage areas when one area is full and the other has an empty data register200084
US 6,185,629 B1Data transfer controller employing differing memory interface protocols dependent upon external input at predetermined time2001121
US 6,189,088 B1Forwarding stored dara fetched for out-of-order load/read operation to over-taken operation read-accessing same memory location200190
US 6,192,466 B1Pipeline control for high-frequency pipelined designs200158
US 2001018731 A1Memory management device and memory management method thereof—73
US 6,308,255 B1Symmetrical multiprocessing bus and chipset used for coprocessor support allowing non-native code to run in a system2001547
US 6,334,176 B1Method and apparatus for generating an alignment control vector2001134
US 6,338,057 B1Information management and retrieval2002115
US 6,349,361 B1Methods and apparatus for reordering and renaming memory references in a multiprocessor computer system2002198

Non-Patent Literature (5)

  • "C Programming/Strings," (http://en.wildbooks.org/wild/C-Programming/Strings), Nov. 2014, pp. 1-12.
  • "C string handling," (http://en.wikibooks.org/wiki/C-string-handling), Mar. 2015, pp. 1-6.
  • "Emulator" Wikipedia, http://en.wikipedia.org/w/index.php?title-Emulator&oldid-475864955, downloaded Apr. 14, 2015, pp. 1-10.
  • "Intel® 64 and IA-32 Architectures Developer's Manual: vol. 2B, Instructions Set Reference, A-L," Order No. 253666-041US, Dec. 2011.
  • "Intel® 64 and IA-32 Architectures Developer's Manual: vol. 2B, Instructions Set Reference, M-Z," Order No. 253667-041US, Dec. 2011.