[Bug rtl-optimization/31170] cmpxchgq not emitted.

2007-03-14 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-03-14 19:05 --- (In reply to comment #1) > ifcvt could do this. But is cmpxchgq really faster with its atomictiy > guarantee? only `lock; cmpxchg' has atomicity guarantee on smp. > They are all vector-path instructions, a compare - cmov s

[Bug rtl-optimization/31170] cmpxchgq not emitted.

2007-03-14 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-14 11:00 --- ifcvt could do this. But is cmpxchgq really faster with its atomictiy guarantee? They are all vector-path instructions, a compare - cmov sequence looks faster (8 cycle latency vs. 10 and also with less constraints o