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: PR target/55565: update failing powerpc test


On 01/10/13 12:58, Dominique Dhumieres wrote:
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.

I didn't tackle the Darwin issue since the original test was ignored on Darwin, but I guess it doesn't hurt to handle the Darwin "f" register variants.


OK for trunk?

Attachment: curr
Description: Text document


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