News for hackers. Stuff that matters.
Re:x86-S External Architectural Specification by manuelabeledo on Friday May 19, 2023 @05:26PM (#36007050)
Legacy systems and architectures can’t be around forever.

How many people in the PC market still use 16-bit applications?

Re:x86-S External Architectural Specification by jhallenworld on Friday May 19, 2023 @05:40PM (#36007159)
>Legacy systems and architectures can’t be around forever.

Why not? The bits don't decay.. Yes, this leads to an architectural mess, but I'm talking about a competitive business advantage.

Re:x86-S External Architectural Specification by manuelabeledo on Friday May 19, 2023 @05:44PM (#36007189)
> Why not?

> Yes, this leads to an architectural mess

Right there.

There's no notable advantage in supporting a very small minority of the applications out there, at the cost of keeping units useless for the 99%.

Re:x86-S External Architectural Specification by bear8642 on Friday May 19, 2023 @07:05PM (#36007824)
> There's no notable advantage...

Potentially one if a large customer's paying you for it.

At work, I'm helping a client upgrade from a decade old version (v12) of our product and having to copy over the switches to keep the even older (v11 and previous) behaviours

Re:x86-S External Architectural Specification by manuelabeledo on Friday May 19, 2023 @07:12PM (#36007867)
Ten years ago was 14 years after the introduction of the x86 64-bit instruction set, and 28 years after x86-32.

I’m quite sure we will be OK without support for 16-bit instructions.

Re:x86-S External Architectural Specification by MrBuddyCasino on Friday May 19, 2023 @05:45PM (#36007199)
Question is, what is the cost of keeping the old cruft around?
Re:x86-S External Architectural Specification by userbinator on Friday May 19, 2023 @06:19PM (#36007426)
Essentially none. It's all make-work (or, since they're intent on breaking things more than fixing them, break-work.)
Re:x86-S External Architectural Specification by manuelabeledo on Friday May 19, 2023 @06:25PM (#36007471)
I wouldn’t say “none”. Real estate in CPUs is extremely expensive.
Re:x86-S External Architectural Specification by userbinator on Friday May 19, 2023 @06:41PM (#36007599)
...and taken up mostly by cache and vector execution units.

An 8086 has 29000 transistors. A modern CPU has several billion. The amount needed to implement the 16-bit subset of the ISA is an absolutely tiny fraction of the total area.

Re:x86-S External Architectural Specification by FullyFunctional on Friday May 19, 2023 @07:21PM (#36007929)
Ah, I see you don't work in the field.

A few of the cost of legacy:

* exponential growth in verification space (each feature combines with all other features),

* design complexity (effort that could be spent better),

* area/power/cycle time overhead (all options require more ports to muxes, more wires to run, etc.)

* and most importantly, opportunity costs: some optimization tricks can't be pursued because the assumptions would break for legacy code

The legacy tax is real

Re:x86-S External Architectural Specification by userbinator on Friday May 19, 2023 @08:13PM (#36008207)
Ah, I see you don't work in the field.

I won't give away too much of my personal history, but it suffices to say I've worked with x86 at the hardware level before.

each feature combines with all other features

They do, but orthogonally.

effort that could be spent better

Effort that has already been spent.

all options require more ports to muxes, more wires to run, etc

It's all ultimately split into uops anyway.

some optimization tricks can't be pursued because the assumptions would break for legacy code

What assumptions in particular?

Re:x86-S External Architectural Specification by FullyFunctional on Friday May 19, 2023 @08:23PM (#36008260)
Well, everything I said was true but I don't think we can agree on that, so I'll just end it here.
Re:x86-S External Architectural Specification by MrBuddyCasino on Saturday May 20, 2023 @08:38AM (#36011423)
Sad.
Re:x86-S External Architectural Specification by akira2501 on Friday May 19, 2023 @06:29PM (#36007501)
My immediate sense is that the entire vector system easily dwarfs the 16bit system.. as I'm guessing most of the modern 16bit mode is entirely in microcode.