Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.embedded > #256 > unrolled thread

ARM now as powerful as Intel chips

Started by7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com>
First post2012-05-03 20:01 +0100
Last post2012-05-05 00:45 +0100
Articles 8 — 5 participants

Back to article view | Back to comp.os.linux.embedded


Contents

  ARM now as powerful as Intel chips 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-05-03 20:01 +0100
    Re: ARM now as powerful as Intel chips OldGoat <oats@farmerbrowns.com> - 2012-05-03 15:30 -0600
      Re: ARM now as powerful as Intel chips David Brown <david@westcontrol.removethisbit.com> - 2012-05-04 09:05 +0200
        Re: ARM now as powerful as Intel chips Grant Edwards <invalid@invalid.invalid> - 2012-05-04 13:20 +0000
          Re: ARM now as powerful as Intel chips David Brown <david@westcontrol.removethisbit.com> - 2012-05-04 16:09 +0200
            Re: ARM now as powerful as Intel chips OldGoat <oats@farmerbrowns.com> - 2012-05-04 12:00 -0600
        Re: ARM now as powerful as Intel chips OldGoat <oats@farmerbrowns.com> - 2012-05-04 11:58 -0600
        Re: ARM now as powerful as Intel chips Theo Markettos <theom+news@chiark.greenend.org.uk> - 2012-05-05 00:45 +0100

#256 — ARM now as powerful as Intel chips

From7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com>
Date2012-05-03 20:01 +0100
SubjectARM now as powerful as Intel chips
Message-ID<kCAor.226075$dO.12759@fx29.am4>
ARM now as powerful as Intel chips
----------------------------------

http://www.theinquirer.net/inquirer/news/2172329/tsmc-28nm-31ghz-cortex-a9-chip

A 3.1GHz dual core ARM is out which probably means it will outperform
any Intel CPU where instructions per second bottleneck is a problem.

Big news for Linux.

These devices ought to bring higher than desktop PC performance
to mediocre netbooks and tablets on a low power budget
and probably leave you wanting nothing more than beyond that
for all your every day office and browsing needs.

Since Linux runs on parallel supercomputers, putting 2 or 3 of
these ARM chips and getting a parallel Linux distro up and running
on a tablet with probably take your tablet beyond where gaming is stuck
at with windopws. Any electronics engineer could get this done.

Get coding I say! :-)

[toc] | [next] | [standalone]


#257

FromOldGoat <oats@farmerbrowns.com>
Date2012-05-03 15:30 -0600
Message-ID<GJ6dnWqFj9Z6ZT_SnZ2dnUVZ_qGdnZ2d@bresnan.com>
In reply to#256
On 5/3/2012 1:01 PM, 7 wrote:
> ARM now as powerful as Intel chips
> ----------------------------------
>
> http://www.theinquirer.net/inquirer/news/2172329/tsmc-28nm-31ghz-cortex-a9-chip
>
> A 3.1GHz dual core ARM is out which probably means it will outperform
> any Intel CPU where instructions per second bottleneck is a problem.
>
> Big news for Linux.
>
> These devices ought to bring higher than desktop PC performance
> to mediocre netbooks and tablets on a low power budget
> and probably leave you wanting nothing more than beyond that
> for all your every day office and browsing needs.
>
> Since Linux runs on parallel supercomputers, putting 2 or 3 of
> these ARM chips and getting a parallel Linux distro up and running
> on a tablet with probably take your tablet beyond where gaming is stuck
> at with windopws. Any electronics engineer could get this done.
>
> Get coding I say! :-)
>
>
But will the arms be data alignment tolerant like the Intels are?

[toc] | [prev] | [next] | [standalone]


#258

FromDavid Brown <david@westcontrol.removethisbit.com>
Date2012-05-04 09:05 +0200
Message-ID<zLqdnd7TGpFr4j7SnZ2dnUVZ8h6dnZ2d@lyse.net>
In reply to#257
On 03/05/2012 23:30, OldGoat wrote:
> On 5/3/2012 1:01 PM, 7 wrote:
>> ARM now as powerful as Intel chips
>> ----------------------------------
>>
>> http://www.theinquirer.net/inquirer/news/2172329/tsmc-28nm-31ghz-cortex-a9-chip
>>
>>
>> A 3.1GHz dual core ARM is out which probably means it will outperform
>> any Intel CPU where instructions per second bottleneck is a problem.
>>
>> Big news for Linux.
>>
>> These devices ought to bring higher than desktop PC performance
>> to mediocre netbooks and tablets on a low power budget
>> and probably leave you wanting nothing more than beyond that
>> for all your every day office and browsing needs.
>>
>> Since Linux runs on parallel supercomputers, putting 2 or 3 of
>> these ARM chips and getting a parallel Linux distro up and running
>> on a tablet with probably take your tablet beyond where gaming is stuck
>> at with windopws. Any electronics engineer could get this done.
>>
>> Get coding I say! :-)
>>
>>
> But will the arms be data alignment tolerant like the Intels are?
>

It will probably be as tolerant as x86/amd64 - i.e., misaligned data 
works for simple stuff, but at much lower performance, and completely 
screws any difficult things like precise ordering for inter-process and 
inter-thread communication.

[toc] | [prev] | [next] | [standalone]


#259

FromGrant Edwards <invalid@invalid.invalid>
Date2012-05-04 13:20 +0000
Message-ID<jo0l3m$pji$1@reader1.panix.com>
In reply to#258
On 2012-05-04, David Brown <david@westcontrol.removethisbit.com> wrote:

>> But will the arms be data alignment tolerant like the Intels are?
>
> It will probably be as tolerant as x86/amd64 - i.e., misaligned data
> works for simple stuff, but at much lower performance, and completely
> screws any difficult things like precise ordering for inter-process
> and inter-thread communication.

Finally!  I've used a number ARM cores (ARM7, ARM9, StrongARM) and
none of them ever support misaligned data.  But, neither did the
SPARC, 68K, PDP-11, and many others -- so it's not like anybody with a
clue expected misaligned data access to work without checking the
processor specs).

It looks like the ARMv6 and ARMv7 do -- at least for simple load/store
operations.  There appear to still be alignment requirements for the
fancy bits like multiple-register load/store operations.

-- 
Grant Edwards               grant.b.edwards        Yow! Youth of today!
                                  at               Join me in a mass rally
                              gmail.com            for traditional mental
                                                   attitudes!

[toc] | [prev] | [next] | [standalone]


#260

FromDavid Brown <david@westcontrol.removethisbit.com>
Date2012-05-04 16:09 +0200
Message-ID<urqdnWMSJpfmfj7SnZ2dnUVZ8jOdnZ2d@lyse.net>
In reply to#259
On 04/05/2012 15:20, Grant Edwards wrote:
> On 2012-05-04, David Brown<david@westcontrol.removethisbit.com>  wrote:
>
>>> But will the arms be data alignment tolerant like the Intels are?
>>
>> It will probably be as tolerant as x86/amd64 - i.e., misaligned data
>> works for simple stuff, but at much lower performance, and completely
>> screws any difficult things like precise ordering for inter-process
>> and inter-thread communication.
>
> Finally!  I've used a number ARM cores (ARM7, ARM9, StrongARM) and
> none of them ever support misaligned data.  But, neither did the
> SPARC, 68K, PDP-11, and many others -- so it's not like anybody with a
> clue expected misaligned data access to work without checking the
> processor specs).
>
> It looks like the ARMv6 and ARMv7 do -- at least for simple load/store
> operations.  There appear to still be alignment requirements for the
> fancy bits like multiple-register load/store operations.
>

That's correct, as far as I can see - misaligned accesses work but not 
for multiple register operations.  I'd guess you also need to keep the 
stack aligned.  So Cortex M3 (and M4) and Cortex Ax can work with 
misaligned data.

Some 68K devices (including the 68332 and the Coldfire) can work with 
misaligned data too.

I don't see it as a big issue, however.

[toc] | [prev] | [next] | [standalone]


#262

FromOldGoat <oats@farmerbrowns.com>
Date2012-05-04 12:00 -0600
Message-ID<XuudnR15n6rKhDnSnZ2dnUVZ_oudnZ2d@bresnan.com>
In reply to#260
On 5/4/2012 8:09 AM, David Brown wrote:
> On 04/05/2012 15:20, Grant Edwards wrote:
>> On 2012-05-04, David Brown<david@westcontrol.removethisbit.com> wrote:
>>
>>>> But will the arms be data alignment tolerant like the Intels are?
>>>
>>> It will probably be as tolerant as x86/amd64 - i.e., misaligned data
>>> works for simple stuff, but at much lower performance, and completely
>>> screws any difficult things like precise ordering for inter-process
>>> and inter-thread communication.
>>
>> Finally! I've used a number ARM cores (ARM7, ARM9, StrongARM) and
>> none of them ever support misaligned data. But, neither did the
>> SPARC, 68K, PDP-11, and many others -- so it's not like anybody with a
>> clue expected misaligned data access to work without checking the
>> processor specs).
>>
>> It looks like the ARMv6 and ARMv7 do -- at least for simple load/store
>> operations. There appear to still be alignment requirements for the
>> fancy bits like multiple-register load/store operations.
>>
>
> That's correct, as far as I can see - misaligned accesses work but not
> for multiple register operations. I'd guess you also need to keep the
> stack aligned. So Cortex M3 (and M4) and Cortex Ax can work with
> misaligned data.
>
> Some 68K devices (including the 68332 and the Coldfire) can work with
> misaligned data too.
>
> I don't see it as a big issue, however.

Right now in the Apple camp there was an issue of misaligned data on 
their ARM chips.  IIRC, the Xcode newsletters I receive, had an article 
and one poster had a major problem with it.  Consequently, the Apple dev 
team pointed him to an IBM site on misaligned data and how to code for 
it properly.  Rather interesting topic.

[toc] | [prev] | [next] | [standalone]


#261

FromOldGoat <oats@farmerbrowns.com>
Date2012-05-04 11:58 -0600
Message-ID<XuudneJ5n6ozhTnSnZ2dnUVZ_oudnZ2d@bresnan.com>
In reply to#258
On 5/4/2012 1:05 AM, David Brown wrote:
> On 03/05/2012 23:30, OldGoat wrote:
>> On 5/3/2012 1:01 PM, 7 wrote:
>>> ARM now as powerful as Intel chips
>>> ----------------------------------
>>>
>>> http://www.theinquirer.net/inquirer/news/2172329/tsmc-28nm-31ghz-cortex-a9-chip
>>>
>>>
>>>
>>> A 3.1GHz dual core ARM is out which probably means it will outperform
>>> any Intel CPU where instructions per second bottleneck is a problem.
>>>
>>> Big news for Linux.
>>>
>>> These devices ought to bring higher than desktop PC performance
>>> to mediocre netbooks and tablets on a low power budget
>>> and probably leave you wanting nothing more than beyond that
>>> for all your every day office and browsing needs.
>>>
>>> Since Linux runs on parallel supercomputers, putting 2 or 3 of
>>> these ARM chips and getting a parallel Linux distro up and running
>>> on a tablet with probably take your tablet beyond where gaming is stuck
>>> at with windopws. Any electronics engineer could get this done.
>>>
>>> Get coding I say! :-)
>>>
>>>
>> But will the arms be data alignment tolerant like the Intels are?
>>
>
> It will probably be as tolerant as x86/amd64 - i.e., misaligned data
> works for simple stuff, but at much lower performance, and completely
> screws any difficult things like precise ordering for inter-process and
> inter-thread communication.
>
Sounds like the ARM community is making inroads then.

[toc] | [prev] | [next] | [standalone]


#263

FromTheo Markettos <theom+news@chiark.greenend.org.uk>
Date2012-05-05 00:45 +0100
Message-ID<vQB*jQr6t@news.chiark.greenend.org.uk>
In reply to#258
In uk.comp.os.linux David Brown <david@westcontrol.removethisbit.com> wrote:
> It will probably be as tolerant as x86/amd64 - i.e., misaligned data 
> works for simple stuff, but at much lower performance, and completely 
> screws any difficult things like precise ordering for inter-process and 
> inter-thread communication.

ARMv7 changed the alignment semantics for reading words from
non-word-aligned addresses.  This caused a whole pile of pain for people who
were using code from the ARMv3 era where compilers used non-word-aligned
accesses to achieve some speedup tricks (eg on 16-bit values before LDRH
existed) - after all, such accesses were explicitly documented in the ARM
ARM.  Alignment exceptions on the ARMv7 kind-of cover this, but with a big
performance penalty (every memory access being trapped is not good news).

Bottom line is, don't rely on non-word-aligned accesses, because the
semantics may well change underneath you and bite you in the future.

Theo

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.embedded


csiph-web