IP Library Granted Patent US 8,332,620
Granted Patent B2
US 8,332,620 · App. 12/179,791 · Granted Dec 11, 2012

System, method and computer program product for executing a high level programming language conditional statement

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,332,620
App. No.
12/179,791
Granted
Dec 11, 2012
Kind
B2
Abstract

A method for executing an instruction, the method includes: executing a compare and configure mask instruction, wherein the executing comprises: performing a comparison to provide a comparison result; and configuring, in response to the comparison result, a multiple bit mask that is stored in a multiple-purpose register; wherein all bits of the multiple bit mask are configured to have the same value; and applying an algorithmic operation on the multiple bit mask to provide an algorithmic operation result; wherein the algorithmic operation result represents an outcome of a high level programming language conditional statement.

Claims (39)

1. A method for executing an instruction, the method comprising:

executing by a processor a compare and configure mask instruction, wherein the executing comprises:

performing a comparison to provide a comparison result;

determining a bit value as a representation of the comparison result; and

writing the representation of the comparison result to each bit of a multiple bit mask that is stored in a plurality of bits of a multiple-purpose register, thereby duplicating the bit value in each bit of the multiple bit mask; and

applying by the processor an algorithmic operation on the multiple bit mask to provide an algorithmic operation result; wherein the algorithmic operation result represents an outcome of a high level programming language conditional statement.

2. The method according to claim 1 comprising:

performing, in parallel, multiple comparisons to provide multiple comparison results; and

configuring multiple bit masks in response to the multiple comparison results; wherein each multiple bit mask reflects a single comparison result; wherein each multiple bit mask is stored in a multiple-purpose register; wherein all bits of each multiple bit mask are configured to have the same value.

3. The method according to claim 2 comprising applying at least one algorithmic operation on at least two multiple bit masks to provide at least one algorithmic operation result.

4. The method according to claim 1 comprising fetching the compare and mask configure result by a processor that has a single true flag.

5. The method according to claim 1 comprising fetching the compare and mask configure result by a processor that has a limited number of dedicated predicates.

6. The method according to claim 1 comprising receiving a high level programmable language conditional statement and converting it to an assembly language sequence of a compare and configure mask instruction that provides a multiple bit mask and an algorithmic operation instruction that is applied on the multiple bit mask to provide an algorithmic operation result.

7. A system that comprises:

an execution unit, adapted to execute a compare and configure mask instruction that is followed by an algorithmic operation instruction by:

performing a comparison to provide a comparison result;

determining a bit value as a representation of the comparison result;

writing the representation of the comparison result to each bit of a multiple bit mask that is stored in a plurality of bits of a multiple-purpose register, thereby duplicating the bit value in each bit of the multiple bit mask; and

applying an algorithmic operation on the multiple bit mask to provide an algorithmic operation result; wherein the algorithmic operation result represents an outcome of a high level programming language conditional statement.

8. The system according to claim 7 comprising multiple execution units adapted to perform, in parallel, multiple comparisons to provide multiple comparison results; and to configure multiple bit masks in response to the multiple comparison results; wherein each multiple bit mask reflects a single comparison result; wherein each multiple bit mask is stored in a multiple-purpose register; wherein all bits of each multiple bit mask are configured to have the same value.

9. The system according to claim 8 wherein at least one execution unit is adapted to apply at least one algorithmic operation on at least one algorithmic operation result.

10. The system according to claim 7 comprising a single true flag.

11. The system according to claim 7 comprising a limited number of dedicated predicates.

12. The system according to claim 7 comprising a compiler adapted to receive a high level programmable language conditional statement and convert it to an assembly language sequence of a compare and configure mask instruction that provides a multiple bit mask and an algorithmic operation instruction that is applied on the multiple bit mask to provide an algorithmic operation result.

13. A computer program product that comprises a non-transitory computer readable medium that stores instructions for:

executing a compare and configure mask instruction, wherein the executing comprises:

performing a comparison to provide a comparison result;

determining a bit value as a representation of the comparison result; and

writing the representation of the comparison result each bit of a multiple bit mask that is stored in a plurality of bits of a multiple-purpose register, thereby repeating the bit value in each bit of the multiple bit mask; and

applying an algorithmic operation on the multiple bit mask to provide an algorithmic operation result; wherein the algorithmic operation result represents an outcome of a high level programming language conditional statement.

14. The computer program product according to claim 13 wherein the non-transitory computer readable medium further stores instructions for:

performing, in parallel, multiple comparisons to provide multiple comparison results; and

configuring multiple bit masks in response to the multiple comparison results; wherein each multiple bit mask reflects a single comparison result; wherein each multiple bit mask is stored in a multiple-purpose register; wherein all bits of each multiple bit mask are configured to have the same value.

15. The computer program product according to claim 14 wherein the non-transitory computer readable medium further stores instructions for applying at least one algorithmic operation on at least two multiple bit masks to provide at least one algorithmic operation result.

16. The computer program product according to claim 13 wherein the non-transitory computer readable medium further stores instructions for receiving a high level programmable language conditional statement and converting it to an assembly language sequence of a compare and configure mask instruction that provides a multiple bit mask and an algorithmic operation instruction that is applied on the multiple bit mask to provide an algorithmic operation result.

17. The computer program product of claim 13 wherein the non-transitory computer readable medium further stores instructions for indicating a type of comparison to perform.

18. The computer program product of claim 17 wherein the type of comparison is selected from a group consisting of equalization, greater than, not greater than, smaller than, not smaller than, and not equal.

19. The computer program product of claim 13 wherein the non-transitory computer readable medium further stores instructions for setting a single true flag.

20. The computer program product of claim 13 wherein the non-transitory computer readable medium further includes instructions for storing a limited number of dedicated predicates.

Assignments (22)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE PREVIOUSLY RECORDED AT REEL: 040632 FRAME: 0001. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Sep 21, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 044209/0047 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 040632/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0757 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0143 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded May 13, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 024397/0001 →
SECURITY AGREEMENT Recorded Mar 15, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A.
Reel/Frame 024085/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 2, 2010
From: DAYAN, URI; AMIR, AVIRAM; BARAK, ITZHAKI; NAHUM, SHAHAR; ROZENBERG, IDAN; SHAPOSHNIKOV, RON; STEINBERG, EREZ
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 024013/0399 →
SECURITY AGREEMENT Recorded Dec 9, 2008
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A.
Reel/Frame 021936/0772 →