This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/47253] Conditional jump to tail function is not generated
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 14:04:15 +0000
- Subject: [Bug rtl-optimization/47253] Conditional jump to tail function is not generated
- Auto-submitted: auto-generated
- References: <bug-47253-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-11 14:04:13 UTC ---
(In reply to comment #3)
> jne only takes 8bit displacement.
There are two opcodes for jne - 0x75 taking 8bit displacement, and 0x0f 0x85
taking 16/32bit displacement:
(pasted from IA-32 Intel Architecture Software Developerâs Manual Volume 2:
Instruction Set Reference)
75 cb
JNE rel8
Jump short if not equal (ZF=0)
0F 85 cw/cd
JNE rel16/32
Jump near if not equal (ZF=0)
Jcc is no different from JMP, both can take 8/(16/)32bit displacement - even in
64bit mode.