- MaverickCrunch
-
The MaverickCrunch is a floating point math coprocessor core intended for digital audio. It was first presented by Cirrus Logic in June 2000[1] together with an ARM920T integer processor in their 200MHz EP9302 EP9307 EP9312 and EP9315 System-on-Chip integrated circuits. Plagued with hardware bugs and poor compiler support, it was seldom used in any of the devices based on those chips and the product line was discontinued on April 1st, 2008.
Contents
Features
The coprocessor has 16 64-bit registers which can be used for 32- or 64-bit integer and floating point operations and its floating point format is based on the IEEE-754 standard. It has its own instruction set which performs floating point addition, subtraction, multiplication, negation, absolute value, and comparisons as well as addition, multiplication and bit shifts on integers. It also has four 72-bit registers on which can perform a 32-bit multiple-and-accumulate instruction and a status register, as well as conversions between integer and floating point values and instructions to move data between itself and the ARM registers or memory.
It operates in parallel with the main processor, both processors receiving their instructions from a single 32-bit instruction stream. Thus, to use it efficiently, integer and floating point instructions must be interleaved so as to keep both processors busy.
Hardware bugs
Five versions of the EP93xx silicon were issued: "D0" and "D1"/"E0"/"E1" and "E2", with major revisions to the MaverickCrunch core between D0 and D1 to fix its worst bugs. All have a dozen or more hardware bugs which either give imprecise or garbage results or clobber registers or memory when certain sequences of instructions are executed in a certain order.
Compiler support
A set of patches was submitted to the GNU Compiler Collection by Red Hat/Cygnus Solutions in 2003 to include a code generator for it, complete with flags to work around its defects. Unfortunately these never worked well enough for it to be usable.
Several attempts have been made to fix this work:
- Cirrus Logic's Crunch tools, a repackaging of GNU tools modified by Nucleusys of Bulgaria;
- The futaris patches for gcc 4.1.2 and 4.2.0, packaged for Open Embedded
- Martin Guy's gcc-crunch patches and native compilers, a development of the futaris patches, which generate reliable code and pass all testsuites.
References
- ^ Klaas, Jeff. "Introducing Maverick EP9312". Retrieved on 2009-03-03., presented at the Embedded Processor Forum, San Jose, California, June 13, 2000.
External links
- Chapter 2 of the EP9307 Users Guide
- Optimizing Code Speed for the MaverickCrunch Coprocessor
- [1] Reportedly many issues with the implementation on the chip.
- Cirrus Logic's Errata for EP93XX
- A detailed article on the Debian Wiki exploring its problematic features, hardware bugs and the state of GCC support.
- A repository of crunch-accelerated packages for Debian armel lenny.
Categories:- Microprocessors
Wikimedia Foundation. 2010.