This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

x86 D flag: what's its status thru the program?


Is this Direction flag (for the movs instructions) has some assumed
value (say, as after cld)?  I ask because the many program sources
show interesting behaviour: from one side, this flag is always set
before the string insns (cld or std), but from the other side, if the
programs does std then it always does cld after.  So, nobody leaves it
set, but nevertheless, everybody set it clear.  Why?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]