Maybe the first is tipically used with Pocket PC devices, while ARMV4I is
tipically used with "Windows CE 4.20" devices?
On other words: which CPUs have I to select to compile my code by eVC4?
Mhaxx
You choose the CPU type based on the CPU of your target device. If you
don't know the target CPU type, choosing ARMV4 is safer for you.
ARMV4I CPUs support Thumb instructions, which increases the CPU performance
by using 16-bit instructions instead of 32-bit but has less access to CPU
resources.
--
Zhongwei Wang
Applied Data Systems
www.applieddata.net
"Mhaxx" <super...@despammed.com> wrote in message
news:OUZ$geIBGH...@TK2MSFTNGP12.phx.gbl...
Why do you think Thumb decrease CPU performance? My understanding is Thumb
has better code density, thus less instruction data to load. I thought the
whole point of Thumb was to provide better code density and lower cost
without compromising performance.
--
Zhongwei Wang
Applied Data Systems
www.applieddata.net
"K. S. Huang" <ksh_AT_bsquare_DOT_com> wrote in message
news:uET2gxL...@TK2MSFTNGP10.phx.gbl...
Quoted from "Addison Wesley - Steve Furber - ARM System-on-Chip Architecture
(2nd Edition)" at page 203
there is a summery about the Thumb and ARM instructions
‧ The Thumb code requires 70% of the space of the ARM code.
‧ The Thumb code uses 40% more instructions than the ARM code.
‧ With 32-bit memory, the ARM code is 40% faster than the Thumb code.
‧ With 16-bit memory, the Thumb code is 45% faster than the ARM code.
‧ Thumb code uses 30% less external memory power than ARM code.
So where performance is all-important, a system should use 32-bit memory and
run ARM code. Where cost and power consumption are more important, a 16-bit
memory system and Thumb code may be a better choice. However, there are
intermediate
positions which may give the best of both worlds...
"Zhongwei Wang" <MWang@applieddata[dot]_net> 撰寫於郵件新聞:e228QXNB...@TK2MSFTNGP09.phx.gbl...
What are exactly Thumb instructions?
Mhaxx
But can you determine some general categories of device for ARMv4, ARMv4I
and ARMv4T? I.e. is ARMv4I is tipically used with "Windows CE 4.20" devices
and..
Mhaxx
Applications compiled for ARMv4i may not run on ARMv4 CPU because ARMv4 CPU
doesn't support thumb mode. There is probably no 100% guarantee either, at
least I don't see the guarantee anywhere, that applications compiled for
ARMv4 will run and function properly on ARMv4i CPUs, but in most cases it
will. That is why I said using ARMv4 is safer for you if you don't know the
target device CPU, however, I assume most devices on the market are having
ARMv4I CPUs. ARMv4 CPUs are getting obsolete.
ARMv4I CPUs can execute both 32-bit ARM and 16-bit Thumb instructions, I
means interworking, i.e. interworking ARM and Thumb. Thumb instructions are
a subset of ARM instructions, say the most "popular" ARM instructions, they
are encoded into 16-bits so they have better code density. Althought the
instruction is 16-bit, they operate 32-bit values and produce 32-bit
addresses.
--
Zhongwei Wang
Applied Data Systems
www.applieddata.net
"Mhaxx" <super...@despammed.com> wrote in message
news:Od6BhCX...@TK2MSFTNGP09.phx.gbl...
--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
"Mhaxx" <super...@despammed.com> wrote in message
news:Ozf%239AXBG...@tk2msftngp13.phx.gbl...
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
Steve Maillet (eMVP) wrote:
In short, anything built using the wm5 ppc sdk
is not going to run on anything ppc 2003. It
won't even load. It's probably a different
cpu id, not the 2577 of arm. I suppose you
could try changing that in the pe header, and
it might fly on ppc 2003...
--
40th Floor - Software @ http://40th.com/
iPlay : the ultimate audio player for mobiles
parametric eq, xfeed, reverb; all on a mobile