• sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    17 days ago

    no CPU has ever been called by the width of the address bus EVER.

    Yes they have, and that’s what the vast majority of people mean when they say a CPU is 32-bit or 64-bit. It was especially important in the transition from 32-bit to 64-bit because of all the SW changes that needed to be made to support 64-bit addresses. It was a huge thing in the early 2000s, and that is where the nomenclature comes from.

    Before that big switch, it was a bit more marketing than anything else and frequently referred to the size of the data the CPU operated on. But during and after that switch, it shifted to address sizes, and instructions (not including the data) are also 64-bit. The main difference w/ AVX vs a “normal” instruction is the size of the registers used, which can be up to 512-bit, vs a “normal” 64-bit register. But the instruction remains 64-bit, at least as far as the rest of the system is concerned.

    Hence why CPUs are 64-bit, all of the interface between the CPU and the rest of the system is with 64-bit instructions and 64-bit addresses. Whether the CPU does something fancy under the hood w/ more than 64-bits (i.e. registers and parallel processing) is entirely irrelevant, the interface is 64-bit, therefore it’s 64-bit.

    • Buffalox@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      6
      ·
      edit-2
      17 days ago

      yes they have, and that’s what the vast majority of people mean when they say a CPU is 32-bit or 64-bit

      Nobody ever called the purely 8 bit Motorola M6800, MOSTech 6502, Zilog Z80, ot the Intel 8080 16 bit computers for having a 16 bit address bus. They were 8 bit instruction and data bus, and were called 8 bit chips. The purely 16 bit Intel 8086 wasn’t called a 20 bit CPU for having a 20 bit Address bus, it was called a 16 bit CPU for having 16 bit instruction set and databus. Or the Motorola M68000 a 24 bit CPU for having a 24 bit adress bus, it was a 32 bit CPU for having a 32 bit instruction set and databus.

      I have no idea how you are upvoted, because your claim tha CPUs are called by their address bus bit length is decidedly false.
      The most common is to use the DATA-bus or instruction set, and now also the instruction decoder and other things, because the complexity has evolved.

      Back in the day, it was mostly instruction set, then it became instruction set / DATA-bus. Today it’s way way more complex, and we may call it x86-64, but that’s the instruction set, the modern x86-64 CPU is not 64 bit anymore. They are hybrids of many bit widths.

      Show me just ONE example of a CPU that was called by its address bus.

      https://people.ece.ubc.ca/edc/379.jan2000/lectures/lec2.pdf

      Tell me when 8086 and 8088 were called 20 bit CPU’s!!

      https://www.alldatasheet.com/datasheet-pdf/view/82483/MOTOROLA/MC6800.html

      The 6800 was an 8 bit CPU with 16 bit Adress bus as was the 6502/6510.

      https://en.wikipedia.org/wiki/Motorola_68000

      The 68000 is here correctly called 16/32 because it’a a 16 bit DATAbus and 32 bit instruction set.
      The Address bus is 24 bit, but never has a CPU been called 20 ot 24 bit, despite many CPU’s have had address busses of that length.

      • tekato@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        17 days ago

        I guess you know more about hardware nomenclature Linux kernel developers, because they call modern Intel/AMD and ARM CPUs amd64 and aarch64, respectively.

        • Buffalox@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          17 days ago

          AMD64 is the name of the instruction set they program to, it has nothing to do with how many bit the CPU is. Obviously the core instruction set is 64 bit, but as I’ve tried to explain, a chips bit width is not realistically determined by instruction set alone anymore.

          Although they are almost identical, the equivalent Intel is called i64.
          AArch64 Is the Arm Architecture family 64, again the instruction set you program for.