Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 261153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:24:29+00:00 2026-05-11T22:24:29+00:00

Intel’s 32-bit processors such as Pentium have 64-bit wide data bus and therefore fetch

  • 0

Intel’s 32-bit processors such as Pentium have 64-bit wide data bus and therefore fetch 8 bytes per access. Based on this, I’m assuming that the physical addresses that these processors emit on the address bus are always multiples of 8.

Firstly, is this conclusion correct?

Secondly, if it is correct, then one should align data structure members on an 8 byte boundary. But I’ve seen people using a 4-byte alignment instead on these processors.

How can they be justified in doing so?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:24:29+00:00Added an answer on May 11, 2026 at 10:24 pm

    The usual rule of thumb (straight from Intels and AMD’s optimization manuals) is that every data type should be aligned by its own size. An int32 should be aligned on a 32-bit boundary, an int64 on a 64-bit boundary, and so on. A char will fit just fine anywhere.

    Another rule of thumb is, of course “the compiler has been told about alignment requirements”. You don’t need to worry about it because the compiler knows to add the right padding and offsets to allow efficient access to data.

    The only exception is when working with SIMD instructions, where you have to manually ensure alignment on most compilers.

    Secondly, if it is correct, then one
    should align data structure members on
    an 8 byte boundary. But I’ve seen
    people using a 4-byte alignment
    instead on these processors.

    I don’t see how that makes a difference. The CPU can simply issue a read for the 64-bit block that contains those 4 bytes. That means it either gets 4 extra bytes before the requested data, or after it. But in both cases, it only takes a single read. 32-bit alignment of 32-bit-wide data ensures that it won’t cross a 64-bit boundary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a lot of spare intel linux servers laying around (hundreds) and want
I want to access my sql server database files in a INTEL SS4000-E storage.
I remember some rules from a time ago (pre-32bit Intel processors), when was quite
I have just installed boost for the first time on my Intel Mac, and
I'm currently learning the APIs related to Intel's parallelization libraries such as TBB, MKL
On my laptop with Intel Pentium dual-core processor T2370 (Acer Extensa) I ran a
I have an Intel Core 2 Duo CPU and i was reading 3 files
Intel's Threading Building Blocks (TBB) open source library looks really interesting. Even though there's
Intel is set to release a new instruction set called AVX , which includes
I was checking out Intel's whatif site and their Transactional Memory compiler (each thread

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.