lkml.org 
[lkml]   [2009]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: make use of inc/dec conditional
>>> Thomas Gleixner <tglx@linutronix.de> 19.08.09 11:06 >>>
>You still do not tell on which machines the INC/DEC instructions
>should be avoided and why. GCC avoiding it is not a convincing
>argument.

On Pentium4 (Prescott/Nocona) inc/dec not modifying the carry flag cause
an extra instruction dependency on EFLAGS, and hence extra latency in
when the instruction can be scheduled for execution.

Jan



\
 
 \ /
  Last update: 2009-08-19 11:27    [W:0.033 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site