lkml.org 
[lkml]   [2004]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Intel vs AMD x86-64


Nakajima, Jun wrote:
> For near branches (CALL, RET, JCC, JCXZ, JMP, etc.), the operand size is
> forced to 64 bits on both processors in 64-bit mode, basically meaning
> RIP is updated.
>
> Compilers would typically use a JMP short for "intraprocedural jumps",
> which requires just an 8-bit displacement relative to RIP.


I see. It's too bad you can't have a 16-bit displacement.


Ummm... so if 66H were used with a near branch, would that affect the
size of the immediate operand which gets added to RIP, or would that
affect the the portion of IP/EIP/RIP affected? If it's the latter,
that's pretty silly.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2011 Jasper Spaans