My idea is to Support only subset of ARM, "M" profile and *ONLY*
Thumb2 instruction set.
>From Wikipedia
The architecture has evolved over time, and starting with the v7
architecture three "profiles" are defined: the "A" (application),
"R" (realtime), and "M" (microcontroller) profiles.
Thumb-2
Thumb-2 technology made its debut in the ARM1156 core, announced in
2003. Thumb-2 extends the limited 16-bit instruction set of Thumb with
additional 32-bit instructions to give the instruction set more
breadth. A stated aim for Thumb-2 is to achieve code density similar
to Thumb with performance similar to the ARM instruction set on 32-bit
memory. In ARMv7 this goal can be said to have been met.
Thumb-2 extends both the ARM and Thumb instruction set with yet more
instructions, including bit-field manipulation, table branches, and
conditional execution. A new "Unified Assembly Language" (UAL)
supports generation of either Thumb-2 or ARM instructions from the
same source code; versions of Thumb seen on ARMv7 processors are
essentially as capable as ARM code (including the ability to write
interrupt handlers). This requires a bit of care, and use of a new
"IT" (if-then) instruction, which permits up to four successive
instructions to execute based on a tested condition. When compiling
into ARM code this is ignored, but when compiling into Thumb-2 it
generates an actual instruction. For example
; if (r0 == r1)
CMP r0, r1
ITE EQ ; ARM: no code ... Thumb: IT instruction
; then r0 = r2;
MOVEQ r0, r2 ; ARM: conditional; Thumb: condition via ITE 'T' (then)
; else r0 = r3;
MOVNE r0, r3 ; ARM: conditional; Thumb: condition via ITE 'E' (else)
; recall that the Thumb MOV instruction has no bits to encode "EQ" or
"NE"
All ARMv7 chips support the Thumb-2 instruction set. Some chips, such
as the Cortex-M3, support only the Thumb-2 instruction set. Other
chips in the Cortex and ARM11 series support both "ARM instruction set
mode" and "Thumb-2 instruction set mode"
>From ARM
The ARM Cortex-M Series is a family of deeply embedded processors
optimized for cost sensitive applications. These processors support
the Thumb-2 instruction set only. This family comprises the Cortex-M3,
Cortex-M0, and the Cortex-M1 FPGA processors
Cortex-M0
The processor implements the ARMv6-M Thumb instruction set, including
a number of 32-bit instructions that use Thumb-2 technology. The ARMv6-
M instruction set comprises:
* all of the 16-bit Thumb instructions from ARMv7-M excluding CBZ,
CBNZ and IT
* the 32-bit Thumb instructions BL, DMB, DSB, ISB, MRS and MSR.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0432c/index.html
The ARM Cortex M1 is specially for FPGA. It can be implemented on the
Xilinx Spartan 3 (which I have).
There is no M2
The M3 seems to be higher end applications, perhaps Routers and such
running Linux.
See http://www.techtir.ie/forums/showthread.php?goto=newpost&t=3397
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.