This is the mail archive of the gcc-patches@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]

Re: [patch] partial register update for a bit mask operation on x86



+/* { dg-do compile { target "i?86-*-*" } } */ +/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */

So, this part is wrong :)

It should be:

/* { dg-do compiler { { target i?86-*-* x86_64-*-* } && ilp32 } } */

+; It is based on movstrictqi_xor where partial register update is performed.
+; If optimize_size is not set, it is better to update the whole register.


So, what's the size difference between this and movstrctqi_xor? Also this
should probably read:


;; Like movstrctqi_xor, but avoids partial register stall if we're not
;; optimizing for size.

-eric


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