This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Why does x86 binutils use REX_MODE64/REX_EXTX/REX_EXTY/REX_EXTZ?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 21 Mar 2007 12:38:38 -0700
- Subject: Why does x86 binutils use REX_MODE64/REX_EXTX/REX_EXTY/REX_EXTZ?
The hardware spec uses REX.W/REX.R/REX.X/REX.B. But x86 binutils uses
REX_MODE64/REX_EXTX/REX_EXTY/REX_EXTZ. I have to do a translation
when I read the code. I suggest we repleace them with
REX_W/REX_R/REX_X/REX_B. Dissassembler will print rexWRXB instead of
rex64XYZ.
H.J.