Re: GNU ARM Assembler - no support for SRS and RFE instructions?



Michael wrote:
The GNU ARM assembler doesn't appear to support SRS and RFE which are
supported in ARM6 and higher I believe (I get "bad instruction"). I'm
using version 2.16.1 with the option -marm7tdmi when I assemble. Any
help would be greatly appreciated.

Boudewijn Dijkstra wrote:
The ARM7 doesn't support these instructions. I guess you are
confusing ARM6 with ARMv6.

Wikipedia has a table showing which cores implement which revision of
the ARM architecture, e.g., the ARM7DTMI core implements the ARMv4T
architecture.

http://en.wikipedia.org/wiki/ARM_architecture#ARM_cores

According to that table, ARMv6 architecture is only used in the ARM11
and Cortex-M1 cores, so you won't get SRS and RFE instructions in an
ARM7DTMI.
.



Relevant Pages

  • Re: Direct Linux syscalls
    ... that explains why the instruction isn't really optimized. ... _30 year_ lifespan...and become the architecture used in 90+% of machines ... As a simple example, when a process loads, a "jump table" of address to all ... whether you're calling other user mode code or actually calling into kernel ...
    (comp.os.linux.development.apps)
  • Re: Scaling noise
    ... >> The point of hyperthreading is that more virtual CPUs on same memory ... > Its a way of exposing asynchronicity keeping the old instruction set. ... Modern processors have three execution cores, ...
    (Linux-Kernel)
  • Re: Question about re-designing an algorithm when hardware architecture is fixed
    ... Instructions - how many of my target machine's instruction does it take ... Intruction Set Architecture to the job at hand. ... measures cache stalls. ... useful with a really good compiler). ...
    (comp.dsp)
  • Re: what uC do you prefer?
    ... of code (buffer over-run exploits - spesh of Billy boi) but that is ... I do hanker for a contiguous RAM area where I ... versions of this architecture are the Coldfire parts. ... that makes instruction fetches slow. ...
    (sci.electronics.basics)
  • Re: Future architectures [was Re: Intel details future Larrabee ...]
    ... But that is a minor detail of the architecture, compared to major differences in design, such as between Von Neumann and ... there is an even mix of data and instruction throughout, ... on early analog computers. ...
    (comp.arch)