• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Possible to set the armv7 chip into using unaligned memory accesses?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible to set the armv7 chip into using unaligned memory accesses?


  • Subject: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 Jan 2012 08:56:41 -0800


On Jan 11, 2012, at 1:11 AM, Andreas Grosam wrote:

Unfortunately, I've no idea if you can set a compiler-switch to make an arm v7 CPU to accept unaligned data within Xcode.

It’s not a compiler issue, it’s a runtime issue. Setting a CPU control register has nothing to do with the compiler or toolchain.

Alignment errors may occur when a certain data of a primitive type T (e.g. double, long, ..) or a user defined struct is serialized at a memory address where the CPU is unable to access it, e.g.:

I don’t think the OP’s issue is compiler struct alignment, rather reading values from pointers whose values are computed at runtime.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Possible to set the armv7 chip into using unaligned memory accesses? (From: David Hoerl <email@hidden>)
 >Re: Possible to set the armv7 chip into using unaligned memory accesses? (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • Next by Date: [SOLVED] Possible to set the armv7 chip into using unaligned, memory accesses?
  • Previous by thread: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • Next by thread: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • Index(es):
    • Date
    • Thread