Return-target restrictive return from procedure instructions, processors, methods, and systems

US9703948B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9703948-B2
Application numberUS-201414229822-A
CountryUS
Kind codeB2
Filing dateMar 28, 2014
Priority dateMar 28, 2014
Publication dateJul 11, 2017
Grant dateJul 11, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A processor includes a decode unit to decode a return target restrictive return from procedure (RTR return) instruction. A return target restriction unit is responsive to the RTR return instruction to determine whether to restrict an attempt by the RTR return instruction to make a control flow transfer to an instruction at a return address corresponding to the RTR return instruction. The determination is based on compatibility of a type of the instruction at the return address with the RTR return instruction and based on compatibility of first return target restrictive information (RTR information) of the RTR return instruction with second RTR information of the instruction at the return address. A control flow transfer unit is responsive to the RTR return instruction to transfer control flow to the instruction at the return address when the return target restriction unit determines not to restrict the attempt.

First claim

Opening claim text (preview).

What is claimed is: 1. A processor comprising: a decode unit to decode a return target restrictive return from procedure (RTR return) instruction; a return target restriction unit, which includes at least some circuitry, coupled with the decode unit, and responsive to the RTR return instruction, to determine whether to restrict an attempt by the RTR return instruction to make a control flow transfer to an instruction at a return address corresponding to the RTR return instruction, based on compatibility of a type of the instruction at the return address with the RTR return instruction, and based on compatibility of first return target restrictive information (RTR information) of the RTR return instruction with second RTR information of the instruction at the return address; and a control flow transfer unit coupled with the return target restriction unit and with the decode unit, the control flow transfer unit, responsive to the RTR return instruction, to transfer control flow to the instruction at the return address when the return target restriction unit determines not to restrict the attempt. 2. The processor of claim 1 , wherein the return target restriction unit is to determine not to restrict the attempt when a first value corresponding to the first RTR information matches a second value corresponding to the second RTR information, and is to determine to restrict the attempt when the first value does not match the second value. 3. The processor of claim 2 , wherein the return target restriction unit is to determine not to restrict the attempt when the first value equals the second value, and is to determine to restrict the attempt when the first value does not equal the second value. 4. The processor of claim 1 , wherein the return target restriction unit is to determine to restrict the attempt when an opcode of the instruction at the return address is not one of a set of no more than five opcodes that correspond to all instructions that are of a type compatible with the RTR return instruction, and which are to be used to mark potentially allowable return targets for the RTR return instruction. 5. The processor of claim 1 , wherein the RTR return instruction has an immediate to provide the first RTR information, and wherein the instruction at the return address has an immediate to provide the second RTR information. 6. The processor of claim 1 , wherein, when the return target restriction unit determines not to restrict the attempt, the processor is to perform the instruction at the return address as a no operation. 7. The processor of claim 1 , wherein, when the return target restriction unit determines to restrict the attempt, the return target restriction unit is to cause one of an exception, a fault, and an interrupt. 8. The processor of claim 1 , wherein the decode unit is to decode the RTR return instruction which is to have an immediate and an opcode that is same as a legacy return from procedure instruction that existed in an instruction set before the RTR return instruction, wherein the legacy return from procedure instruction was originally to cause a number of bytes indicated by the immediate to be popped from a stack, and wherein the processor is to use the immediate for the first RTR information. 9. The processor of claim 1 , wherein the decode unit is to decode the RTR return instruction which is to have an immediate and an opcode that is same as a legacy return from procedure instruction that existed in an instruction set before the RTR return instruction, and wherein the processor has a first mode in which the immediate is to correspond to the first RTR information and a second mode in which the immediate is to be ignored.

Assignees

Inventors

Classifications

  • Test or assess a computer or a system · CPC title

  • G06F21/54Primary

    by adding security routines or objects to programs · CPC title

  • Instruction analysis, e.g. decoding, instruction word fields · CPC title

  • for indirect branch instructions · CPC title

  • to perform operations for flow control · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9703948B2 cover?
A processor includes a decode unit to decode a return target restrictive return from procedure (RTR return) instruction. A return target restriction unit is responsive to the RTR return instruction to determine whether to restrict an attempt by the RTR return instruction to make a control flow transfer to an instruction at a return address corresponding to the RTR return instruction. The determ…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F21/54. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 11 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).