Re: gcc and x86 condition codes

2009-07-01 Thread Richard Henderson
On 07/01/2009 02:49 PM, Amitabha Roy wrote: A search led me to this message http://gcc.gnu.org/ml/gcc/2005-11/msg00206.html which says that it is true, or at least was true back then. Still true today. r~

gcc and x86 condition codes

2009-07-01 Thread Amitabha Roy
Hi I am working on transforming x86 binaries generated with gcc and wanted to know whether gcc treats the eflags register as a single unit when generating code or actually tracks individual flags. My question is motivated by an optimisation I am making in my tool that assumes that any instruction