Re: [PATCH v1 2/3] x86/traps: Initialize DR7 by writing its architectural reset value
From: Peter Zijlstra
Date: Fri Jun 13 2025 - 04:17:13 EST
On Fri, Jun 13, 2025 at 12:59:04AM -0700, H. Peter Anvin wrote:
> Incidentally, do you know the following x86 register sequences in the proper order?
>
> ax, cx, dx, bx, sp, bp, si, di, ...
Yes, I get annoyed at that every time I decode regs :-)
> al, cl, dl, bl, ah, ch, dh, bh
> es, cs, ss, ds, fs, gs
These I don't know from the top of my head -- I've not had to use them enough.