Sequential consistency in hardware

By: Konrad Schwarz (no.spam.delete@this.no.spam), August 5, 2020 5:03 am
Room: Moderated Discussions
dmcq (dmcq.delete@this.fano.co.uk) on August 4, 2020 10:27 am wrote:
> Geert Bosch (boschg.delete@this.mac.com) on August 3, 2020 8:48 pm wrote:
>
  • We are about performance, so unaligned accesses are bad.
    > > We align our bytes to cache-lines, and that's a feature!

  • >
    > So now we have a hodge podge with for instance atomic and many SIMD instructions having
    > to have aligned operands. Should never have been allowed to percolate into C.

    I'm pretty sure this remains undefined behavior according to Standard C.

    It is market pressure that causes processor implementations to support unaligned accesses.
    < Previous Post in ThreadNext Post in Thread >
    TopicPosted ByDate
    Sequential consistency in hardwarenever_released2020/08/03 07:44 AM
      Sequential consistency in hardwareLinus Torvalds2020/08/03 09:19 AM
        Sequential consistency in hardwareJon Masters2020/08/03 04:22 PM
          Sequential consistency in hardwareGeert Bosch2020/08/03 07:48 PM
            Sequential consistency in hardwareTravis Downs2020/08/03 08:08 PM
              Sequential consistency in hardwareLinus Torvalds2020/08/03 10:20 PM
                Sequential consistency in hardwareLinus Torvalds2020/08/04 11:56 AM
                  Sequential consistency in hardwarenever_released2020/08/04 02:03 PM
                Sequential consistency in hardwareVeedrac2020/08/05 11:54 AM
                  Sequential consistency in hardwareDoug S2020/08/05 02:36 PM
                    Sequential consistency in hardwareanon22020/08/05 03:06 PM
              Sequential consistency in hardwareAnon2020/08/04 07:02 AM
            Sequential consistency in hardwaredmcq2020/08/04 09:27 AM
              Sequential consistency in hardwareKonrad Schwarz2020/08/05 05:03 AM
      Sequential consistency in hardwareTravis Downs2020/08/03 06:58 PM
        Sequential consistency in hardwaregpd2020/08/04 02:19 AM
        Sequential consistency in hardwareJeff S.2020/08/04 10:11 PM
          Sequential consistency in hardwareTravis Downs2020/08/05 12:04 PM
            Sequential consistency in hardwareJeff S.2020/08/05 02:52 PM
              typoJeff S.2020/08/05 02:55 PM
              Sequential consistency in hardwareTravis Downs2020/08/05 06:39 PM
                Sequential consistency in hardwareJeff S.2020/08/05 07:43 PM
      Binary translationDavid Kanter2020/08/03 08:19 PM
    Reply to this Topic
    Name:
    Email:
    Topic:
    Body: No Text
    How do you spell avocado?