frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Reverse engineering the 386 processor's prefetch queue circuitry

http://www.righto.com/2025/05/386-prefetch-circuitry-reverse-engineered.html
55•todsacerdoti•3h ago

Comments

kens•3h ago
Author here. I hope you're not tired of the 386... Let me know if you have any questions.
neuroelectron•2h ago
Ok, now do 486.
kens•1h ago
I'm not as interested in the 486; I went stright to the Pentium: https://www.righto.com/2025/03/pentium-multiplier-adder-reve...
neuroelectron•1h ago
Fair enough. But why?
kens•1h ago
Because I saw a Navajo weaving of a Pentium and wanted to compare the weaving to the real chip: https://www.righto.com/2024/08/pentium-navajo-fairchild-ship...
neuroelectron•1h ago
I was only joking but I'm glad you have decided to take it seriously.
guerrilla•1h ago
I totally agree with your methodology. Stick to the classic leaps.
sitkack•1h ago
At what number of layers is it difficult to reverse engineer a processor from die photos? I would think at some point, functionality would be too obscured to able to understand the internal operation.

Do they ever put a solid metal top layer?

kens•1h ago
I've been able to handle the Pentium with 3 metal layers. The trick is that I can remove metal layers to see what is underneath, either chemically or with sanding. Shrinking feature size is a bigger problem since an optical microscope only goes down to about 800 nm.

I haven't seen any chips with a solid metal top layer, since that wouldn't be very useful. Some chips have thick power and ground distribution on the top layer, so the top is essentially solid. Secure chips often cover the top layer with a wire that goes back and forth, so the wire will break if you try to get underneath for probing.

sitkack•1h ago
I'll never tire of any analysis you do. But if you are taking requests, I'd love two chips.

The AMD 29000 series, a RISC chip with many architectural advances that eventually morphed into the K5.

And the Inmos Transputer, a Forth like chip with built in scheduling and networking, designed to be networked together into large systems.

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

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

kens•1h ago
Those would be interesting chips to examine, if I ever get through my current projects :-)
Zeetah•14m ago
If you are doing requests, I'd love to see the M68k series analyzed.
anyfoo•40m ago
Never, the 386 is way too important.
siliconunit•1h ago
very nice analysis! personally I'm a DEC alpha fan.. but I guess that's a too big endeavor.. (or maybe a selected portion?)
kens•52m ago
So many chips, so little time :-)
lysace•45m ago
I miss those dramatic performance leaps in the 80s. 10x in 5 years, give or take.

Now we get like 2x in a decade (single core).

rasz•14m ago
There was no performance improvement clock for clock between 286 and 386 when running contemporary 16 bit code https://www.vogons.org/viewtopic.php?t=46350
lysace•12m ago
Ok.

I'm speaking of e.g. the leap between the IBM PC in 1981 and the Compaq 386 five years later.

myself248•40m ago
I remember reading about naive circuits like ripple-carry, where a signal has to propagate across the whole width of a register before it's valid. These seem like they'd only work in systems with very slow clocks relative to the logic itself.

In this writeup, something that jumps out at me is the use of the equality bus, and Manchester carry chain, and I'm sure there are more similar tricks to do things quickly.

When did the transition happen? Or were the shortcuts always used, and the naive implementations exist only in textbooks?

kens•34m ago
Well, the Manchester carry chain dates back to 1959. Even the 6502 uses carry skip too increment the PC. As word sizes became larger and transistors became cheaper, implementations became more complex and optimized. And mainframes have been using these tricks forever.
yukIttEft•7m ago
When are you going to implement the first electron-level 386 emulator?

DCJ11 Based Single Board Computer

https://www.5volts.ch/pages/dcj11sbc/020-dcj11-sbc/
1•JPLeRouzic•1m ago•0 comments

Start with a dot-plot

https://www.granola.ai/blog/dot-plot
1•jamesfisher•2m ago•0 comments

Show HN: Late Stage Capitalism – The Game

https://late-stage-capitalism.replit.app/
1•admtal•3m ago•0 comments

Pure Python in memory SQL engine

https://github.com/abstra-app/json-sql
1•brunovcosta•3m ago•0 comments

Trump used pencils to sell tariffs. This factory in 'Pencil City' is split

https://www.washingtonpost.com/politics/2025/05/10/trump-tariffs-pencils/
1•perihelions•5m ago•1 comments

Science funding was already way too low

https://thegreatrace.substack.com/p/science-funding-was-already-way-too
1•yegg•6m ago•0 comments

Eil Malk Jellyfish Lake: Snorkel Among Stingless Jellyfish in Palau

https://www.going.com/guides/palau-jellyfish-lake
1•gnabgib•9m ago•0 comments

Lsr: Ls but with Io_uring

https://ziggit.dev/t/lsr-ls-but-with-io-uring/9990
1•motiejus•12m ago•0 comments

Pope Leo XIV: "AI poses new challenges re: human dignity, justice and labour"

https://www.vatican.va/content/leo-xiv/en/speeches/2025/may/documents/20250510-collegio-cardinalizio.html
3•90s_dev•13m ago•0 comments

When Market Fundamentalism Collides with Command Economies

https://dialecticaldispatches.substack.com/p/when-market-fundamentalism-collides
1•derelicta•15m ago•0 comments

AI AI is draining water from areas that need it most

https://www.bloomberg.com/graphics/2025-ai-impacts-data-centers-water-data
4•mraniki•22m ago•0 comments

I built a build system for C/C++ where you add libraries with a single command

https://github.com/zyntraxis-corp/zyn
3•zyntraxis•23m ago•2 comments

Email Forwarding for Your Domain

https://mailwip.com
1•codazoda•25m ago•1 comments

My not so pragmatic guide to running background services on macOS

https://eli.li/my-not-so-pragmatic-guide-to-running-background-services-on-macos
1•ingve•27m ago•0 comments

AI Snake Oil: What Artificial Intelligence Can Do, What It Can't

https://www.youtube.com/watch?v=C3TqcUEFR58
1•belter•27m ago•0 comments

Powell has a hard time avoiding 'Too Late' label even as he does the right thing

https://www.cnbc.com/2025/05/10/powell-may-have-a-hard-time-avoiding-trumps-too-late-label-even-as-fed-chief-does-the-right-thing.html
1•rntn•32m ago•0 comments

Is current state of querying on observability data broken?

1•pranay01•32m ago•0 comments

JavaFX 24 and Beyond

https://www.youtube.com/watch?v=FxHbXY34iFQ
1•billfruit•34m ago•0 comments

Feeling Discouraged in the Job Hunt

https://old.reddit.com/r/ccie/comments/1biph8w/really_feeling_discouraged_in_the_job_hunt/
3•belter•36m ago•1 comments

C minimal Xbox controller state to events mapper for macOS

https://github.com/ivanbelenky/xbox-macos/blob/master/reader.c
1•ivanbelenky•38m ago•0 comments

New Release of DownloadNet – 4.5

https://github.com/DO-SAY-GO/dn/releases/tag/v4.5.2
1•keepamovin•39m ago•0 comments

Border agents are going to photograph everyone leaving the US by car

https://www.theverge.com/policy/664433/cbp-photos-facial-recognition-travelers-leaving-us
1•Element_•40m ago•0 comments

FSZ: Command-line Alfred/Raycast/Rofi replacement and script launcher

https://github.com/Squirreljetpack/fzs
1•makizar•46m ago•0 comments

Growing Chili Peppers: A Home Guide

https://jmswrnr.com/blog/growing-chili-peppers-a-home-guide
2•tobr•47m ago•0 comments

How we run CI in 3 minutes on 300k lines of TypeScript

https://the-nerve-blog.ghost.io/quick-stable-self-contained-how-we-think-about-ci-at-nerve/
1•mprast•48m ago•0 comments

Are Joins over LSM-trees Ready? [pdf]

https://www.vldb.org/pvldb/vol18/p1077-luo.pdf
1•mfiguiere•48m ago•0 comments

DOGE Is Bringing Back a Deadly Disease

https://www.theatlantic.com/ideas/archive/2025/05/doge-silicosis-prevention/682745/
41•voxadam•54m ago•10 comments

The effect of ChatGPT on students' learning performance, perception,and thinking

https://www.nature.com/articles/s41599-025-04787-y
8•bilsbie•55m ago•0 comments

In São Paulo, 'Big Brother' is watching, with 25K cameras and facial recognition

https://english.elpais.com/international/2025-05-10/in-sao-paulo-big-brother-is-watching-with-25000-cameras-and-facial-recognition-technology.html
10•geox•1h ago•2 comments

Show HN: Unicmp – fast universal ordering function for Go

https://pkg.go.dev/github.com/Snawoot/unicmp
2•Snawoot•1h ago•0 comments