From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: egcs-problem 1.0.2 Date: Sun, 05 Apr 1998 17:27:00 -0000 Message-id: References: <889.891803114@hurl.cygnus.com> X-SW-Source: 1998-04/msg00193.html > > > In message < m0yLuSz-00058iC@ocean.lucon.org >you write: > > > This is the "linux asm" problem that I haven't been able to look at > > > for the last month or so due to personal and company commitments. > > > > > > Basically there's a couple problems: > > > > > > * The linux x86 asm for strstr is totally bogus. > > > > Does the code below make sense? > Not sure what you're asking. If you want I can resend the analysis. > Basically the clobbers are bogus and the asm itself uses too many > registers to be safely compiled. > Why the clobbers are bogus? I changed one constraint from "g" to "m". It seems to work fine for me. As long as the asm statement specifies them as the clobbers and egcs doesn't use them inside the asm statement, how can number of registers used in the asm statement be a problem with egcs? -- H.J. Lu (hjl@gnu.org)