Tech Support | Generator Login | Careers | Contact Us
PRODUCTS

  Overview

  Technology

  Diamond Standard

  Xtensa

    Configurable

    Config & Extensible

    Xtensa 7

  + Architecture

    – Better Architecture

    – Code Size

    – Features

  + About Xtensa

    – Rapid Web Access

    – World Class Arch.

    – Benchmark Results

    – Customers Prove It

  + Processor Generator

  + Low Power

  + Configurability

  + Extensibility (TIE)

    – Accelerating C Code

    – Designing New HW

  + Floating Point

  + Real-time Trace

  + Error Detection

  + Performance

    – About EEMBC

    – Out of the Box

    – EEMBC Optimized

    – Code Size

  + DSP Options

    Xtensa LX2

  DSPs

    HiFi 2 Audio

    Video

    Communications

  HW/SW Dev Tools

  Literature & Doc

Code Size

A Better Architecture Delivers Better Code Size

The Xtensa Instruction Set Architecture (ISA) employs a unique, patented, native 16-bit/24-bit instruction-encoding format. 16-bit instructions and 24-bit instructions are freely intermixed within an executable code set. Many of the most commonly used base processor instructions have both 16b and 24b formats, allowing significant code density improvements.  And the full active register file window is addressable in both 16-bit and 24-bit instruction.

The Xtensa ISA seamlessly and modeliessly incorporates 16-bit instruction words that can be freely intermixed with 24-bit instructions to achieve higher code density without compromising application performance. The Xtensa 7 processor's instruction stream yields an average of 20 bits per machine instruction because more than 50% of the typical static instruction mix can use the 16-bit instruction format.

The Xtensa 7 processor also has several compound instructions that reduce the instruction count required to encode and execute a program. Compare-and-branch instructions constitute the most important class of compound instructions. By itself, the compare-and-branch compound instruction class reduces code size by at least 5%. Other compound Xtensa instructions include shift (by 1-3 places), add/subtract, and shirt-and-max.

The Xtensa 7 processor employs register windows to reduce the number of instruction bits needed to specify a register, resulting in substantial savings in code size.

Code Density without Negative Performance Impacts

The Xtensa ISA delivers code size improvements with no “mode switch” performance penalty and no loss of register addressing depth.  Some competing architectures offer code density enhancements by recycling a desktop CPU architecture from the 1980s, evolving that non-embedded ISA into an “embedded processor architecture” by bolting on a 16-bit instruction mode. But mode switching often incurs a performance penalty of several clock cycles to switch modes, and several additional cycles to switch back, preventing the free intermixing of narrow and wide instructions and forcing tedious function-by-function iterative compilation to balance code size –vs- performance. Other 32-bit architectures suffer significant performance degradations when using 16-bit instructions because the full register file is not accessible, or only single operand instructions exist in the 16-bit mode.

As the chart below shows, the Xtensa 7 processor offers low code size and high performance.

Proof: High Performance And Optimal Code Size

The EEMBC benchmarks prove that the Xtensa ISA delivers an unbeatable combination of performance and code density – at the same time.

EEMBC Consumer Benchmark - “Out of Box”
Processor Total Object Code Size (bytes) Performance
(Consumer-mark per MHz)
Xtensa 57,149 0.08696
ARM1020E 70,328 0.05936
ARC Tangent A4 89,100 0.05583
MIPS 20kc (MIPS64) 136,816 0.07964

See more about “out of box” scores and “fully optimized” scores.

PRODUCT RESOURCES
Xtensa 7 Product Brief
Xtensa Processor Developer's Toolkit Product Brief
  Microprocessor Report's Update on Xtensa LX2 and Xtensa 7
  Epson printer
WHITE PAPERS
Configurable Processors: What, Why, How?
Catching Up with Moore’s Law: How to Exploit the Benefits of Nanometer Silicon
ARTICLES
Reducing SOC Simulation and Development Time
How to Improve ROI in SOC Designs
Automated Verification of Configurable IP Blocks
MPEG-4 is Accelerated with Xtensa V
How Tensilica Verifies Processor Cores
QUOTABLE

“We were faced with lengthening RTL (register transfer level) hardware design cycles. By using Xtensa processors, we cut the design time significantly, plus benefit from the programmability of the solution.”

Dr. Jong-Seok Park,
Vice President of LG.

get more info