- Patent Title: Method for compressing variable-length instructions including PC-relative instructions and processor for executing compressed instructions using an instruction table
-
Application No.: US13956382Application Date: 2013-08-01
-
Publication No.: US09672041B2Publication Date: 2017-06-06
- Inventor: Wei-Hao Chiao , Hong-Men Su , Haw-Luen Tsai
- Applicant: ANDES TECHNOLOGY CORPORATION
- Applicant Address: TW Hsin-Chu
- Assignee: ANDES TECHNOLOGY CORPORATION
- Current Assignee: ANDES TECHNOLOGY CORPORATION
- Current Assignee Address: TW Hsin-Chu
- Agency: Jianq Chyun IP Office
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/45

Abstract:
A method for compressing instruction is provided, which includes the following steps. Analyze a program code to be executed by a processor to find one or more instruction groups in the program code according to a preset condition. Each of the instruction groups includes one or more instructions in sequential order. Sort the one or more instruction groups according to a cost function of each of the one or more instruction groups. Put the first X of the sorted one or more instruction groups into an instruction table. X is a value determined according to the cost function. Replace each of the one or more instruction groups in the program code that are put into the instruction table with a corresponding execution-on-instruction-table (EIT) instruction. The EIT instruction has a parameter referring to the corresponding instruction group in the instruction table.
Public/Granted literature
- US20150039863A1 METHOD FOR COMPRESSING INSTRUCTION AND PROCESSOR FOR EXECUTING COMPRESSED INSTRUCTION Public/Granted day:2015-02-05
Information query