Been playing with the ARM / Thumb2 part - specifically for the Thumb2 line-up.
The compiler proper can be built to switch between the two with a command line
switch. However, the RTL gets called as -, this only allows the
RTL to compiled for one or the other.
This may be by design - in whic
except for a few older ARM's both platforms support thumb code, so
anything that is shared could be compiled for thumb with some target
specific trampolines to get there
ARM:
0x0: b _pre_start
...
_pre_start:
ldr r0,_start
bx r0
.pool
cortex-m3:
0x: _stac_top
0x0004:
ohn
From: David Welch
To: FPC developers' list
Sent: Mon, August 22, 2011 6:00:29 AM
Subject: Re: [fpc-devel] ARM vs Thumb2 - can't have both
except for a few older ARM's both platforms support thumb code, so anything
that
is shared could be
All I am saying is thumb (not thumb2) is common between many ARM cores
and the cortex-m3. These lpc21xx parts use an ARM7TDMI which is an
ARMv4T and supports thumb. the lpc2000 are also ARM7TDMI's and LPC1000
is cortex-m0 which is the successor to cortex-m3 so no doubt it is
thumb/thumb2 ba
cortexm3
INSTALL_PREFIX=/home/stimey/fpc
The CROSSOPT item forces the RTL to be compiled as M3 / Thumb2.
John
From: David Welch
To: FPC developers' list
Sent: Mon, August 22, 2011 8:25:11 AM
Subject: Re: [fpc-devel] ARM vs Thumb2 - can't have both
Most if not all of my references to thumb meant the original ARMv4T
thumb instruction set, definitely not the thumb2 extensions, nor ARMv5
or ARMv6 extensions.
If for example you had a thumb backend to fpc, you could easily solve
this problem, all of these libraries would run on both platfor
On 08/23/2011 08:39 AM, David Welch wrote:
I figure most folks would not want to sink to the lowest common
denominator.
I feel that M3 and friends might be worth investing in thumb support for
"embedded" devices. But I understand that the more relevant targets for
ARM-FPC seem to be Smartph
compiler
would have to choose which one based on the core it's currently compiling for.
John
From: David Welch
To: FPC developers' list
Sent: Tue, August 23, 2011 10:39:50 AM
Subject: Re: [fpc-devel] ARM vs Thumb2 - can't have both
to choose which one based on
the core it's currently compiling for.
John
*From:* David Welch
*To:* FPC developers' list
*Sent:* Tue, August 23, 2011 10:39:50 AM
*Subject:* Re: [fpc-devel] ARM vs Thumb2 - can't have both
Most if not all of my references to thumb m
___
From: Jeppe Græsdal Johansen
To: FPC developers' list
Sent: Tue, August 23, 2011 7:42:51 PM
Subject: Re: [fpc-devel] ARM vs Thumb2 - can't have both
Is it really that big a deal?
I think the negatives outweigh the positives in the changes implied here.
Say what you want
10 matches
Mail list logo