Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

547 results about "Mask" patented technology

In computer science, a mask or bitmask is data that is used for bitwise operations, particularly in a bit field. Using a mask, multiple bits in a byte, nibble, word etc. can be set either on, off or inverted from on to off (or vice versa) in a single bitwise operation.

Operator optimization method, electronic device, storage medium and program product

The invention relates to the technical field of artificial intelligence chips, and provides an operator optimization method, electronic equipment, a storage medium and a program product, and the method comprises the steps: determining the block size of operator data in each dimension based on the batch size and mask mode of the operator data and the hardware parameters of computing equipment, each dimension comprises a batch dimension and a sequence length dimension; segmenting the operator data based on the block size of the operator data in each dimension to obtain a plurality of data blocks; and distributing the calculation tasks corresponding to the plurality of data blocks to a plurality of processing units on the calculation equipment, and performing parallel execution on the calculation tasks corresponding to the plurality of data blocks based on the plurality of processing units. According to the method and the device, the data are segmented in the batch dimension and the sequence length dimension at the same time, so that when the data batch is small, a plurality of processing units on the computing equipment can also participate in computing at the same time, hardware resources are prevented from being idle, the utilization rate of the hardware resources is improved, and the overall computing efficiency is improved.
Owner:SHANGHAI BIREN TECH CO LTD

Optimization method for improving parallelism and performance of RISC-V vector instruction executed by hardware

The invention provides an optimization method for improving parallelism and performance of hardware executing RISC-V vector instructions, which comprises the following steps: S1, an instruction fetching and decoding stage step: the step comprises an instruction fetching link and a decoding link, and the instruction fetching link reads instructions from a memory according to a program sequence and stores the instructions into an instruction queue; the decoding link comprises the steps of analyzing an instruction, identifying whether the instruction is a vector mask instruction or a vector length control instruction, and if the instruction needs an old value of a destination register, marking that the instruction needs to carry an old value dependency identifier, belonging to the technical field of optimization methods. According to the method, the instruction is transmitted without waiting for the old value of the target vector register to be ready, the instruction can be transmitted in advance after a certain condition is met, and the correct old value is obtained, so that the aim of improving the parallelism and the performance of hardware for executing the RISC-V vector instruction is fulfilled.
Owner:BEIJING YIHUA CLOUD NETWORK TECH CO LTD

Accelerator for accelerating reasoning process of unstructured sparse large language model

The invention discloses an accelerator for accelerating the reasoning process of an unstructured sparse large language model and an operation method of the accelerator. The accelerator comprises a processor module, a direct memory access module, a memory controller module, a DDR memory module, an interconnection bus module, a calculation core module and a router module. The interconnection bus module is connected with the direct memory access module, the memory controller module and the computing core module; the processor module is connected with the direct memory access module; the DDR memory module is connected with the memory controller module; the router module is connected with the computing core module and the adjacent router module; and the calculation core module obtains to-be-calculated data from the off-chip DDR memory module through the interconnection bus module. According to the method, the limit that data reuse is carried out only along a single row or a single column on a traditional systolic array is broken through, cross-row and cross-column data reuse is achieved, the pressure of hardware equipment is relieved, the positions of non-zero elements are coded through bit masks, and the calculation efficiency is improved.
Owner:NINGBO ORIENTAL UNIV OF TECH (TEMPORARY NAME)

Instruction fusion

Techniques are disclosed that relate to executing pairs of instructions. A processor may include fusion detector circuitry configured to detect a pair of fetched instructions and fuse the pair of fetched instructions into a fused instruction operation, and execution circuitry coupled to the fusion detector circuitry and configured to execute the fused instruction operation. In some embodiments the pair of instructions is executable to generate a remainder of a division operation. In some embodiments the pair of instructions is executable to compare two operands and perform a write operation based on the comparison. In some embodiments the pair of instructions is executable to perform an operation and apply a mask bit sequence to the result. The fusion detector circuitry may also be configured to obtain first and second portions of a constant value from first and second instructions and store the first and second portions in a destination register.
Owner:APPLE INC

String data error detection and repair

Some embodiments perform fully unsupervised string error detection and repair, for strings containing both syntactic errors and semantic errors. In some embodiments, string error mitigation includes learning a regular-expression-based pattern that characterizes at least a predefined fraction of a set of string data values, identifying and masking a semantic substring, deriving edits to repair a string which contains the semantic substring, and replacing a mask value with a replacement substring that conforms to the pattern. Some embodiments utilize a language model. Some embodiments include or utilize a pattern learner, one or more learned significant patterns, and a repair engine. Some embodiments exploit program execution information to generate patterns when significant patterns are not initially found.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Generation of grammar-compliant programming language code using machine learning

A generative language model (e.g. large language model) may be used to generate programming language code. However, the generative language model may sometimes generate an output that is not compliant with the grammar of the programming language. In some embodiments herein, a generative language model may be modified to only generate an output that is grammar-compliant. A method may include generating a plurality of values using the generative language model, where each of the values is indicative of a probability of a respective token being a next token of a token sequence generated by the generative language model. A mask may be applied to the plurality of values. The mask may operate on each value that corresponds to a token not compliant with the grammar of the programming language to reduce or zero the probability of that token being the next token.
Owner:SHOPIFY INC

Constraining output of a generative language model to conform to a grammar

One problem of a generative language model (e.g. a large language model) is the generation of syntactically-invalid or misinformed output. This may be mitigated by utilizing a grammar defining valid sequences of output. The grammar may constrain the token generation. A method may include obtaining values generated using the generative language model, where each value is indicative of a probability of a respective token being a next token in the token sequence. The method may further include obtaining a mask based on the token sequence already generated and the grammar. The method may further include applying the mask to the values. The mask may operate on each value that corresponds to a token not compliant with the grammar to reduce or zero the probability of the corresponding token being the next token. The next token is then determined based on the values after the mask is applied.
Owner:SHOPIFY INC

Contrastive Pre-Training for Language Tasks

Systems and methods are provided that train a machine-learned language encoding model through the use of a contrastive learning task. In particular, the present disclosure describes a contrastive learning task where the encoder learns to distinguish input tokens from plausible alternatives. In some implementations, on each training example the proposed method masks out some subset (e.g., 15%) of the original input tokens, replaces the masked tokens with samples from a “generator” (e.g., which may be a small masked language model), and then trains the encoder to predict whether each token comes from the original data or is a replacement produced by the generator.
Owner:GOOGLE LLC

Dependency tracking and chaining for vector instructions

Apparatus and methods for dependency tracking, chaining, and / or fusing for vector instructions. A system, processor, or integrated circuit includes a renamer to generate a valid bit mask for each micro-operation decoded from a first vector instruction, where the valid bit mask indicates what portion of a mask register to write and generate a dependency bit mask for each micro-operation decoded from a second vector instruction, where the dependency bit mask is based on a relationship between the first vector instruction and the second vector instruction, and an issue queue configured to issue for execution each micro-operation from the second vector instruction when an associated dependency bit mask is cleared based on execution of appropriate micro-operations from the first vector instruction.
Owner:SIFIVE INC

Optimization method and optimization equipment for quantization matrix multiplication of large model and readable storage medium

The invention provides an optimization method and optimization equipment for quantization matrix multiplication of a large model and a readable storage medium. The optimization method comprises the following steps: step 1, obtaining first quantized data, mask data and magic data, wherein the first quantized data has first precision and is obtained by quantizing original data based on a quantization parameter; 2, logical operation is carried out on the first quantized data, the mask data and the magic number data to obtain second quantized data with second precision, and the logical operation comprises bitwise AND calculation and bitwise OR calculation; and step 3, based on the second quantized data and the quantized parameter, carrying out dequantization calculation to obtain dequantized data. Based on the optimization method for quantization matrix multiplication for the large model, the calculation efficiency of quantization matrix multiplication can be improved.
Owner:SHANGHAI INFINIGENCE AI INTELLIGENT TECHNOLOGY CO LTD

Multi-dimensional data logic processing method based on artificial intelligence algorithm

The invention relates to the technical field of electric digital data processing, and discloses a multi-dimensional data logic processing method based on an artificial intelligence algorithm, which comprises the following steps: receiving a target discrete data packet, extracting metadata, and calculating to generate a dimension entropy feature vector representing data logic complexity; inputting the vector into a preset topological mapping model, and outputting an initial adjacent matrix; calling a feedback suppression mask matrix generated based on a historical operator utility state, and executing bitwise logic AND operation with the initial adjacent matrix to generate a corrected effective topological matrix; the matrix is analyzed, a logic operator function pointer is dynamically indexed in an instruction cache, and a directed acyclic execution linked list is constructed; according to the method, redundant logic nodes in AI prediction are definitely eliminated through a bit operation mask mechanism based on historical feedback, and deterministic convergence of processing delay and optimal matching of computing power resources are achieved.
Owner:SHENJIANG UNIVERSAL DATA INFORMATION CO LTD

Data processing method and device, equipment, storage medium and program product

The invention provides a data processing method and device, equipment, a storage medium and a program product, and relates to the technical field of data processing.The data processing method comprises the steps that a scaling factor sequence is generated based on the number of headers in a target model, and the scaling factor sequence serves as a constant to be stored in a cache region; and generating a first mask matrix of a pre-filling stage and a second mask matrix of a decoding stage based on the scaling factor sequence stored in the cache region, so as to perform reasoning of the target model according to the first mask matrix and the second mask matrix. The scaling factor sequence is calculated in advance, the scaling factor sequence is stored in the cache region as a constant, the scaling factor sequence in the cache region can be used when the mask matrix is generated in the pre-filling stage and the decoding stage, repeated calculation of the scaling factor sequence is avoided, redundant calculation is avoided, and therefore the calculation speed is increased.
Owner:SHANGHAI BIREN TECH CO LTD

Security assessment method for parallel implementation of mask circuit and computer equipment

ActiveCN119583035AReduce the number of measurementsImprove security assessment efficiencyKey distribution for secure communicationCryptographic attack countermeasuresAttackSignal-to-noise ratio
The invention relates to the technical field of security assessment of cryptographic algorithms, and discloses a security assessment method for parallel implementation of mask circuits, computer equipment, a computer readable storage medium and a computer program product in order to solve the problems of how to assess the security of parallel implementation of the mask circuits and how to reduce the security assessment measurement times. The method comprises the following steps: acquiring electromagnetic leakage information and differential energy attack parameters of each share in a mask circuit realized by adopting parallelization; according to the electromagnetic leakage information of each share, calculating the leakage signal-to-noise ratio of each share; under the condition that the signal-to-noise ratio meets a stable condition, calculating a success rate of recovering a correct secret key under the single-variable high-order differential energy attack according to a cryptographic algorithm related parameter, the signal-to-noise ratio of each share leakage and a differential energy attack parameter; and according to the success rate, evaluating the safety of the mask circuit realized by adopting parallelization. By adopting the method, the success rate can be quickly and accurately calculated, and the number of times of measurement required by safety assessment is reduced.
Owner:WUHAN SHIP COMM RES INST (NO 722 RES INST OF CHINA STATE SHIPBUILDING CORP)

Mask collaborative optimization method, computer equipment, readable storage medium and program product

The invention relates to the field of chip design, in particular to a mask collaborative optimization method, computer equipment, a readable storage medium and a program product. According to the method, the target edge, the adjacent edge of the target edge and the corresponding influence factor construct the Jacobian matrix, the Jacobian matrix is solved to obtain the offset of the target edge, and the mask pattern is updated and optimized according to the offset. According to the method, the mutual influence of the surrounding adjacent edges in mask optimization is fully considered, collaborative optimization is carried out on the surrounding adjacent edges, and the accuracy and fineness of an optimization result are improved. The mask pattern is further optimized on the basis of the existing local mask optimization method, and a new product or method related to an optical proximity effect correction technology is not introduced, so that the method provided by the invention is simple and convenient enough. The method can be realized on the basis of local mask optimization, and the operand is far smaller than that of a global mask optimization method, so that the method can be operated in equipment only using CPU hardware, and the requirement on the use environment is lower.
Owner:SHENZHEN JINGYUAN INFORMATION TECH CO LTD

Model compression method based on quantized large language model

The invention particularly discloses a model compression method based on a quantized large language model, and relates to the technical field of large language model compression. The method comprises the following steps: S1, performing quantization processing on a pre-trained large language model to obtain a quantized weight matrix, and calculating a pruning optimization objective function after quantization; s2, designing a post-quantization pruning measurement index based on the quantized weight matrix, and combining the pruning measurement index with an absolute value of the quantized weight and a pruning measurement regularization result of the original weight; and S3, based on a pruning measurement index, carrying out importance sorting on the quantized weight, generating a dynamic binary pruning mask, and minimizing quantization and pruning errors through a block optimization algorithm. The method adopts a block quantization post-pruning algorithm, minimizes quantization and pruning errors, and maximizes the model compression ratio on the premise of ensuring the model performance so as to meet the requirements of actual application on the model.
Owner:SHENZHEN UNIV

Large model knowledge distillation method and device oriented to Text2SQL (Structured Query Language) task

The invention relates to a large model knowledge distillation method and device for a Text2SQL task, and the method comprises the steps: carrying out the supervision training of a target large language model based on an original Text2SQL training sample, so as to generate a teacher model corresponding to the Text2SQL task; random mask operation is carried out on SQL statements in the original Text2SQL training sample to obtain a mask sequence, the mask sequence is input into the initial student model to predict mask lexical elements at mask positions in the mask sequence to obtain mask prediction lexical elements, the mask lexical elements in the mask sequence are replaced with the corresponding mask prediction lexical elements, and the mask prediction lexical elements in the original Text2SQL training sample are obtained. A noise adding sample is constructed; and determining a target training sample according to the noise adding sample, and on the basis of the target training sample, combining with the teacher model to supervise the initial student model to perform distillation training to generate a final target student model. Therefore, the problems that in the prior art, model reasoning is delayed, the model deployment difficulty is large, the difference between model distillation training and reasoning is obvious, and the performance and efficiency of knowledge distillation are difficult to consider at the same time are solved.
Owner:WUHAN UNIV

Data processing method and device, electronic equipment, computer readable storage medium and computer program product

The invention provides a data processing method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring to-be-processed data and a sparseness threshold set of a data processing model; inputting the to-be-processed data into the data processing model, and performing multi-round iterative processing on the to-be-processed data through the data processing model to obtain a first model output matrix; wherein during at least one round of iterative processing, a mask matrix is determined based on a first activation feature vector output by the activation layer and a sparsity threshold value, and the mask matrix is used for performing sparse calculation during the current step of iterative processing and multiple steps of iterative processing after the current step; and determining a data processing result of the to-be-processed data based on the first model output matrix. According to the invention, the calculation efficiency of the data processing model can be improved.
Owner:BEIJING SHENGSHU TECH CO LTD

Register for registering predicates

Embodiments are provided for converting a bit mask from a compressed format to an extended format. The bit mask is stored in a storage register in a compressed format. The compressed format does not include placeholder bits. The compressed format includes a single bit defining each element of a vector. The sizes of the elements can vary according to data types, for example, each element has 4, 8 and 16 bytes. In a single microoperation, the bitmask of the compressed format is converted to an extended format. The extended bit mask may be written to a predicate register. The extended bit mask includes a plurality of placeholder bits (the placeholder bits are not used in computation). The size of the extended bit mask corresponds to the size of the definition vector, including a plurality of elements of the data type. The extended bit mask may be used to execute an instruction. For example, a vector processor multiplies a sparse matrix with the vector using the extended bit mask.
Owner:HUAWEI TECH CO LTD

Program branch compiling optimization system oriented to SIMT architecture

The invention discloses an SIMT architecture-oriented program branch compilation optimization system, which relates to the technical field of program branch compilation optimization, and comprises a compiler rear end which takes code intermediate representation as input, executes hardware-related optimization and code generation work, converts the intermediate representation into binary codes and stores the binary codes in a video memory; the SIMT execution unit is responsible for reading the binary code from the video memory and executing a corresponding instruction; the SIMT stack is responsible for storing an address and an active mask of a non-jump branch when the Split instruction is executed, and is responsible for loading the stored non-executed branch and executing or setting the active mask to perform branch reconvergence after the Join instruction is executed; the branch performance analysis module is responsible for recording distribution of active threads of different branch paths; and the branch optimization module is responsible for analyzing and optimizing the code intermediate representation according to the recorded information, and replacing the input of the rear end of the compiler by using the optimized code intermediate representation. The code execution efficiency can be improved.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Model cache optimization method and device based on hierarchical quantification and dynamic priority management

The invention discloses a hierarchical quantization and dynamic priority management-based model cache optimization method and device. The method comprises the following steps of: acquiring an importance score of each Token of a word sequence corresponding to a reasoning long text by utilizing a mask language model; constructing a Token importance scoring model, and dividing the cloud platform GPU into a head cache region, a middle cache region and a tail cache region; the service reasoning model stores the key value pairs of the first # imgabs0 # Token in a Token reasoning sequence corresponding to the reasoning long text in a head cache region in an FP16 format, stores the key value pairs of the first # imgabs1 # Token before the current processing Token in a tail cache region in the FP16 format according to an FIFO principle, and stores the key value pairs shifted out of the tail cache region in an intermediate cache region in an FP8 format; and after the intermediate cache region is full, updating the intermediate cache region by using the Token importance scoring model and the importance score. According to the method, the reasoning efficiency of the large language model in long text generation can be improved.
Owner:PIO CLOUD COMPUTING (SHANGHAI) CO LTD

Thread bundle scheduling method based on fusion scheduling strategy, scheduler and storage medium

The invention relates to the technical field of computer internal thread beam scheduling, and discloses a thread beam scheduling method based on a fusion scheduling strategy, a scheduler and a storage medium, and the method comprises the steps: employing the fusion scheduling strategy to select one or more activated corresponding thread beams through analysis and check, and marking the information of the thread beams; and meanwhile, constructing a thread beam activation table, a thread mask table, a thread beam PC table, a thread beam stagnation table and a branch stack table. Through optimization design of a thread beam scheduling strategy and a scheduler, dynamic monitoring and adjustment of a thread beam state are realized. For a special branch instruction, a branch stack table is constructed by adopting a stack algorithm, invalid threads are shielded, power consumption is reduced, and waste of computing resources is avoided. In addition, according to the fusion scheduling strategy, access delay is hidden through rapid switching between thread bundles and more executable instructions in the thread bundles, assembly line stagnation is avoided, waiting time is shortened, the execution efficiency and the resource utilization rate of the GPGPU are greatly improved, and the overall performance of the system is improved.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Systems and methods for hardware acceleration for masking and norizing data with tangular input masking

A field programmable gate array includes a configurable interconnect structure connecting logic blocks that implement circuitry to: receive input data including data values organized into rows and columns, each row having N data values; selecting R [i] unmasked data values of a row of the input data according to the mask and the index i of the row; selecting N-R [i] unmasked data values of the other line of the input data according to the mask and the index of the other line; merging R [i] unmasked data values of the row and N-R [i] data values of the other row into a combined data vector of N data values; and calculating R [i] normalized values based on the R [i] unmasked data values of the combined data vector and calculating N-R [i] normalized values based on the N-R [i] data values of the combined data vector to generate N normalized data values.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Contrastive pre-training for language tasks

Systems and methods are provided that train a machine-learned language encoding model through the use of a contrastive learning task. In particular, the present disclosure describes a contrastive learning task where the encoder learns to distinguish input tokens from plausible alternatives. In some implementations, on each training example the proposed method masks out some subset (e.g., 15%) of the original input tokens, replaces the masked tokens with samples from a “generator” (e.g., which may be a small masked language model), and then trains the encoder to predict whether each token comes from the original data or is a replacement produced by the generator.
Owner:GOOGLE LLC

Bit mask for syndrome decoding operations

A decoding operation is performed by altering at least one bit of the bit string from a first value to a second value and applying a bit mask to each bit of the bit string that is not altered from the first value to the second value. The decoding operation further includes writing an indication corresponding to a quantity of bits that have been altered from the first value to the second value to an array of memory cells, wherein the indication corresponds to a quantity of errors contained in the bit string, determining that the quantity of errors for the bit string has reached a threshold quantity of errors, and refraining from performing a subsequent operation to alter at least the one bit of the bit string, or a different bit of the bit string, or both, from the first value to the second value in response to determining that the quantity of errors for the bit string has reached the threshold quantity of errors.
Owner:MICRON TECHNOLOGY INC

Masked diffusion models with state-dependent masking schedules

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating an output sequence that includes a respective token selected from a vocabulary of tokens at each of multiple output positions. In one aspect, one of the methods includes obtaining an initial output sequence, the initial output sequence comprising a mask token at each of at least a subset of the multiple output positions; repeatedly performing the following at each of multiple update iterations: obtaining an intermediate representation of the output sequence; generate a diffusion model output that comprises, for each of the multiple output positions, a respective score for each token in at least a subset of the vocabulary of tokens; determining, for each output position in the output sequence that is occupied by a mask token, a masked probability; selecting a subset of the multiple output positions; and generating an updated intermediate representation.
Owner:GDM HOLDING LLC

S-box circuit

The embodiment of the invention provides an S-box circuit, and relates to the technical field of information security. The S-box circuit receives first data and mask data as input and outputs second data, and includes: a confusion adder that receives the first data and the mask data and outputs mask data; a first isomorphic mapping circuit that receives the masking data and outputs third data and fourth data; the first calculation circuit receives the third data, the fourth data and the fifth data and outputs sixth data; the inversion circuit is used for receiving sixth data and outputting seventh data; the second calculation circuit receives the third data, the fourth data and the seventh data and outputs eighth data; a third calculation circuit which receives the fourth data and the seventh data and outputs ninth data; and the second isomorphic mapping circuit receives the eighth data and the ninth data and outputs second data. The S-box circuit masks input data and output data through mask data, and has the capability of resisting power consumption analysis attack.
Owner:HEFEI YIXIN ELECTRONIC TECH CO LTD

Large model fine tuning method, electronic equipment, readable storage medium and computer program product

The invention relates to a large model fine tuning method, electronic equipment, a readable storage medium and a computer program product, and belongs to the field of deep learning. The method comprises the following steps: in the updating process of training, updating selected parameters through masks, and freezing unselected parameters; in the training process, the constraint of the L2 norm is added to the loss function. Compared with full-amount fine tuning, the large-model fine tuning method has the advantages that the training updating cost of the pre-training model is greatly reduced, and the large-model fine tuning method is suitable for multi-training-set and multi-parameter large-scale pre-training model fine tuning. The knowledge of the pre-training model is effectively migrated through data processing and regularization constraint of adding the L2 norm, the generalization ability is improved, the over-fitting condition is effectively solved, and the performance is improved. According to the method, no extra training parameters are added, and no time delay is added in the reasoning process. According to the invention, the calculation efficiency and fine tuning performance of fine tuning of the pre-training model are greatly improved.
Owner:HANGZHOU INTERNATIONAL INNOVATION INSTITUTE OF BEIHANG UNIVERSITY +1

Data processing device and method for processing secret data

According to various embodiments, a data processing device is described comprising a memory configured to store data words in the form of at least two respective shares, a logic circuit configured to receive the at least two shares of at least one of the data words and to process the shares to generate at least two shares of a result data word, a remasking circuit configured to receive at least two shares of at least one of the data words and refresh the shares and an output circuit configured to store the at least two shares of the result data word or to store the refreshed at least two shares depending on a control sequence specifying a sequence of real operations and dummy operations.
Owner:INFINEON TECHNOLOGIES AG

AES (Advanced Encryption Standard) high-order mask S-box rapid implementation method based on bit slicing

The invention provides a bit slicing-based AES (Advanced Encryption Standard) high-order mask S box rapid implementation method, which comprises the following steps of: performing slicing conversion on AES S box input data, and respectively storing different bits of m bytes of parallel input data in a plurality of general registers; adding a mask to the data after bit slicing, and dividing each bit of the original slice data into d mask values through a mask adding operation; the method comprises the following steps: replacing an S box part of an AES algorithm by using an equivalent circuit consisting of bit operation instructions, replacing NAND and NOT instructions in in-situ operation by using a mask multiplication and NOT taking component, adding a mask refreshing component to an input and output part of the equivalent circuit, and completing operation through a mask S box; for the output of the S box, removing a mask through inverse operation of adding the mask, and then rearranging and restoring correct output bytes according to a correct sequence; and carrying out parallel processing on m data with d mask values according to the steps, and carrying out AES S box calculation. According to the invention, the processing time of the AES S box can be reduced by about 30%-50% under different protection levels, and the performance and the safety are remarkably improved.
Owner:NANJING UNIV OF SCI & TECH

Efficient compression instruction handling in a processing pipeline

Systems and methods related to efficient compression instruction handling in a processing pipeline are disclosed herein. A processing pipeline may accept a mask vector from a first register, the mask vector including a set of set bits, and may accept a payload from a second register. The processing pipeline may determine a set of prefix sums for a set of portions of the mask vector by applying the portions to a set of adders in parallel to add the set bits independently for each of the portions. The processing pipeline may determine a set of indexes for the set bits, with respect to the mask vector, in parallel, using the set of prefix sums and the set of portions of the mask vector. The processing pipeline may store a set of identified values from the payload, as identified by the set of indexes, in at least one destination register.
Owner:TENSTORRENT USA INC