VLIW Processor Instruction Code Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In VLIW processors, the increasing program code size leads to higher cache miss rates due to increased instruction fetching, degrading processor performance, particularly in embedded systems where instruction level parallelism is utilized for operations like FFT and digital filtering.

Innovation Solution

An electronic device and method that generate a new VLIW instruction by identifying and combining slots with the same opcode in a VLIW processor, reducing redundancy and optimizing instruction code size by using a single opcode occurrence along with register index fields and state bits, thereby reducing program memory size.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If program code size increases to support more instructions, then instruction functionality is improved, but cache miss rate increases and processor performance degrades

Engineering Contradiction:
Improveinstruction functionalityVSAvoidprocessor performance
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent merges multiple instruction slots with the same opcode into a single compressed instruction representation. Instead of storing each slot separately with its full opcode, the invention combines them using a single opcode field with associated register index fields and state bits, reducing program code size and improving cache utilization while maintaining the ability to execute multiple operations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent changes the parameter representation by introducing state bits that indicate which slots share the same opcode. This allows the processor to dynamically interpret the compressed instruction format, expanding a single stored instruction into multiple execution slots based on the state bits, thereby reducing code size without losing functional capability.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If program code size increases, then more instructions can be stored, but the number of instruction fetches increases and cache miss rate increases

Engineering Contradiction:
Improvenumber of instructionsVSAvoidinstruction fetch time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent combines multiple instruction slots into a single compressed representation in program memory. By merging slots with identical opcodes into one stored instruction with state bits indicating slot sharing, the total number of instruction fetches is reduced, decreasing cache miss rates and improving execution efficiency.

Inventive Principle:
Principle #5Merging (Combining)

3Quantity of substance

If redundancy of the same opcode is eliminated, then program memory size is reduced, but instruction encoding complexity increases

Engineering Contradiction:
Improveprogram memory sizeVSAvoidinstruction encoding complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the instruction encoding into distinct fields: opcode field, register index fields, and state bits. This segmentation allows the compiler to systematically identify slots with the same opcode and apply compression rules, managing encoding complexity through structured field division while achieving significant program memory size reduction.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces state bits as a new parameter that encodes information about opcode sharing across slots. This additional parameter enables the representation of multiple slots with a single opcode, reducing redundancy in program memory while the systematic use of state bits manages the complexity of the encoding process.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10860321B2Electronic device and method for processing instruction using the same
Publication Date: 2020.12.08 SAMSUNG ELECTRONICS CO LTD
  • US10860321B2 patent drawing
  • US10860321B2 patent drawing
  • US10860321B2 patent drawing

AI summary

An electronic device including a memory; and a processor configured to generate an instruction code based on a same opcode when the same opcode is used in one or more slots defined in the memory upon application compiling.