PR target/55565: update failing powerpc test
Dominique Dhumieres
dominiq@lps.ens.fr
Thu Jan 10 18:58:00 GMT 2013
Hi,
AFAIU the regexps, they are not doing what they are supposed to do
on powerpc-apple-darwin9: the assembly reads
fmr f1,f0
i.e., fmr \[0-9\]+ or fmr 1 are never found.
If I use "fmr f?\[0-9\]+,f?\[0-9\]+", then the test fails,
in line with the other powerpc.
If I use "lfd \(f?\[0-9\]+\),\[^\n\r\]*\[\n\r\]+\[ \t]*fmr f?1,\\1\[\n\r\]+\[ \t]*blr"
the test passes.
Cheers,
Dominique
PS. IIRC some previous discussions around such darwin peculiarities
the f? decoration may be too simplistic to cover all the powerpc
flavors (A. Pinski may know better).
More information about the Gcc-patches
mailing list