7 msgRFC: Creating a live, all-encompassing architec...
53 msgGCC 4.3 release schedule
4 msgAutovectorized HIRLAM - latest results.
5 msgHow widely used are <ext/hash_set> and &l...
1 msgGCC 4.3.0 Status Report (2007-10-25)
3 msgproblem with iv folding
2 msgAny Ada changes for GCC 4.3?
10 msgalias and pointers analysis
3 msgDecimal question and sqrt in math.h

-fno-tree-cselim not working?
\ Samuel Tardieu (25 Oct 2007)
. \ Andrew Pinski (25 Oct 2007)
. . \ Samuel Tardieu (25 Oct 2007)
. . . \ Andrew Pinski (25 Oct 2007)
. . . . \ Ian Lance Taylor (25 Oct 2007)
. . . . . \ Andrew Haley (25 Oct 2007)
. . . . \ Florian Weimer (25 Oct 2007)
. \ Andi Kleen (25 Oct 2007)
. . \ Ian Lance Taylor (25 Oct 2007)
. . . \ Andi Kleen (25 Oct 2007)
. \ Ian Lance Taylor (26 Oct 2007)
. . \ David Miller (26 Oct 2007)
. . . \ Ian Lance Taylor (26 Oct 2007)
. . . . \ David Miller (26 Oct 2007)
. . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . \ skaller (26 Oct 2007)
. . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . . . \ skaller (26 Oct 2007)
. . . . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . . . . . \ Andrew Haley (26 Oct 2007)
. . . . . . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . . . . . \ skaller (26 Oct 2007)
. . . . . . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . \ Andreas Schwab (26 Oct 2007)
. . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . . . \ Dave Korn (26 Oct 2007)
. . . . . . . \ Andrew Haley (26 Oct 2007)
. . . . . . . . \ Dave Korn (26 Oct 2007)
. . . . . . . . . \ Andrew Haley (26 Oct 2007)
. . . . . . . . . . \ Richard Guenther (26 Oct 2007)
. . . . . . . . . . . \ Andrew Haley (26 Oct 2007)
. . . . . . . . . . . . \ Dave Korn (26 Oct 2007)
. . . . . . . . . . . . . \ David Miller (26 Oct 2007)
. . . . . . . . . . . . . . \ Dave Korn (27 Oct 2007)
. . . . . . . . . . . . . \ Samuel Tardieu (26 Oct 2007)
. . . . . . . . . . . . . . \ Ian Lance Taylor (27 Oct 2007)
. . . . . . . . . . \ Dave Korn (26 Oct 2007)
. . . . . . . . . . . \ Andrew Haley (26 Oct 2007)
. . . . . . . . . . . \ skaller (26 Oct 2007)
. . . . . . . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . . . . . . . . \ Andrew Haley (26 Oct 2007)
. . . \ Jakub Jelinek (26 Oct 2007)
. . . . \ David Miller (26 Oct 2007)
. . . . . \ Jakub Jelinek (26 Oct 2007)
. . . . . . \ David Miller (26 Oct 2007)
. . . . . . . \ Ian Lance Taylor (26 Oct 2007)
. . . . \ Samuel Tardieu (26 Oct 2007)
. . . . \ Ian Lance Taylor (26 Oct 2007)
. \ Andi Kleen (26 Oct 2007)
. \ Andi Kleen (26 Oct 2007)
. . \ Ian Lance Taylor (26 Oct 2007)
. . . \ skaller (26 Oct 2007)
. . . \ Andi Kleen (28 Oct 2007)
. . . . \ Ian Lance Taylor (29 Oct 2007)

5 msglicense for libgcc source files
1 msggcc-4.2-20071024 is now available
16 msgcannot pass objects of non-POD type
4 msgA question about df
2 msgRTL/VCG inconsistency (the check_match.7758 case)
3 msghelp in deciphering a call RTL instruction
3 msgregister variables: list?
1 msgIs peephole2 expansion recursive?
1 msg[RFC PING] INSN attribute to enable/disable alt...
2 msgProblem when build glibc on IA64
Subject:-fno-tree-cselim not working?
Group:Gcc
From:Samuel Tardieu
Date:25 Oct 2007


With yesterday's SVN sources, the following source produces the same
result with -ftree-cselim and -fno-tree-cselim on x86:

#include <pthread.h>

static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
static int acquires_count = 0;

int
trylock()
{
int res;

res = pthread_mutex_trylock(&mutex);
if (res == 0)
++acquires_count;

return res;
}

trylock:
subl $12, %esp
movl $mutex, (%esp)
call pthread_mutex_trylock
movl acquires_count, %edx
cmpl $1, %eax
adcl $0, %edx
movl %edx, acquires_count
addl $12, %esp
ret

Shouldn't the conditional store be preserved when -fno-tree-cselim is
set?

Sam
--
Samuel Tardieu -- sam -- http://www.rfc1149.net/



© 2004-2008 readlist.com