Hi all,
I need a opinion on a design front. I am doing a port for a private
target in GCC 4.5.1. We are also in the process of designing the
hardware along with the development of the build tools. Currently we
don't have enough bits in the encoding to support conditional
instruction like arm does.
Quoting Michael Meissner :
Generally you need to tighten the pattern conditions to make sure it doesn't
match.
Sometimes the only sane and effective way of tightening the pattern conditions
is to have an insn condition of "0".
At which point the define_insn_and_split becomes syntactic sugar
(p
Quoting Michael Meissner :
So whether the passes in between combine and the split pass care, is a
different question. I didn't recall that combine had this split feature.
I remember that it has been there even before the GNU GCC project started
using cvs. Fortunately, we still have the tran
On Tue, Nov 09, 2010 at 01:38:17PM -0500, Joern Rennecke wrote:
> Quoting Paolo Bonzini :
>
> >On 11/09/2010 05:38 PM, Joern Rennecke wrote:
> >>A define_insn will be recognized in all contexts.
> >>Having an insn pattern for an insn that does not actually exist can cause
> >>all kinds of unintend
Snapshot gcc-4.4-20101109 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20101109/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.4 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
On Tue, Nov 09, 2010 at 09:38:28AM +0200, roy rosen wrote:
> I still don't understand the difference between your two examples:
> If you write a define_split then whenever during combine it gets into
> a pattern which matches the define_split then it splits.
>
> What is the difference when writing
On 09/11/10 18:45, Georg Lay wrote:
David Brown schrieb:
On 08/11/10 16:59, Georg Lay wrote:
Richard Guenther schrieb:
On Mon, Nov 8, 2010 at 3:39 PM, Georg Lay wrote:
Hi, I just started playing around with named address spaces for avr.
Besides general space (ram), I introduced a second one
Quoting Paolo Bonzini :
On 11/09/2010 05:38 PM, Joern Rennecke wrote:
A define_insn will be recognized in all contexts.
Having an insn pattern for an insn that does not actually exist can cause
all kinds of unintended consequences as the optimizers try to generate
and recognize 'optimized' patt
> int __far __atomic x;
int volatile __far __atomic x;
makes more sense :-)
David Brown schrieb:
> On 08/11/10 16:59, Georg Lay wrote:
>> Richard Guenther schrieb:
>>> On Mon, Nov 8, 2010 at 3:39 PM, Georg Lay wrote:
Hi, I just started playing around with named address spaces for avr.
Besides general space (ram), I introduced a second one, __pgm, which
shal
On 11/09/2010 05:38 PM, Joern Rennecke wrote:
A define_insn will be recognized in all contexts.
Having an insn pattern for an insn that does not actually exist can cause
all kinds of unintended consequences as the optimizers try to generate
and recognize 'optimized' patterns, or when reload does
Quoting Paolo Bonzini :
As I understand it, this will also give combine the ability to do
two->two (and two->N) transformations, though indirectly through the
temporary insn. Given this, could you explain further the benefits of
combiner-split define_split vs. define_insn_and_split.
A define_
On Tue, Nov 09, 2010 at 05:08:44AM -0800, Jakub Jelinek wrote:
> On Tue, Nov 09, 2010 at 09:36:08AM +, Andrew Haley wrote:
> > > The D specific part of gdc is already GPL, it's just copyrighted by
> > > Digital Mars. I understand the copyright must be reassigned to the FSF.
> > > Is it possible
On 11/09/2010 02:57 PM, Andreas Schwab wrote:
> Andi Kleen writes:
>
>> @@ -142,7 +142,7 @@ static int i8k_smm(struct smm_regs *regs)
>> "lahf\n\t"
>> "shrl $8,%%eax\n\t"
>> "andl $1,%%eax\n"
>> -:"=a"(rc)
>> +:"=a"(rc), "=m" (*regs)
On 10/27/10 13:54, Frederic Riss wrote:
On 27 October 2010 21:21, Jeff Law wrote:
On 10/27/10 12:15, Frederic Riss wrote:
On 26 October 2010 16:22, Jeff Lawwrote:
The thing is the cprop pass doesn't look at insn costs while doing its
job AFAICS. I'm interested to see how insn splitting
On 11/09/2010 10:22 AM, Joern Rennecke wrote:
Quoting roy rosen :
What is the difference when writing define_insn_and_split?
From what I understood from the docs then if there is such an insn
then the split does not occur so it would simply match it as an insn
without splitting and at the end w
On Tuesday, November 02, 2010 09:22:24 Ian Lance Taylor wrote:
> Nick Clifton writes:
> > Right - this decision has been made. We are not going to include
> >
> > zlib the in the binutils sources.
> >
> > Thanks for suggesting the idea and working on the patch, but in the
> >
> > end it wa
Andi Kleen writes:
> @@ -142,7 +142,7 @@ static int i8k_smm(struct smm_regs *regs)
> "lahf\n\t"
> "shrl $8,%%eax\n\t"
> "andl $1,%%eax\n"
> - :"=a"(rc)
> + :"=a"(rc), "=m" (*regs)
I think this should be "+m".
Andreas.
--
Andrea
Hi,
On Mon, 8 Nov 2010, Dave Korn wrote:
> void foo (void)
> {
> int x, y, z;
> x = 23;
> asm ("do something" : "=r" (y) : "r" (x) );
> z = y + 1;
> }
The case in i8k.c really is different. It does use the value by
influencing the return value and the callers use the returned value in
> My speculation is, that the asm is not removed but rather that regs.eax
> isn't reloaded after the asm because the memory clobber doesn't clobber
> automatic variables.
Yes that makes sense. I wasn't able to verify it so far though.
Maybe the original poster could try the obvious patch
inste
On Tue, Nov 09, 2010 at 09:36:08AM +, Andrew Haley wrote:
> > The D specific part of gdc is already GPL, it's just copyrighted by
> > Digital Mars. I understand the copyright must be reassigned to the FSF.
> > Is it possible to fork the code, and assign copyright of one fork to the
> > FSF and
On 11/08/2010 11:13 PM, Walter Bright wrote:
>
>
> Joseph S. Myers wrote:
>> On Mon, 8 Nov 2010, Walter Bright wrote:
>>
>>
>>> Who do I need to talk to in order to resolve the various licensing
>>> issues so
>>> this becomes possible?
>>>
>>
>> The FSF, via the Steering Committee, via thi
Quoting roy rosen :
What is the difference when writing define_insn_and_split?
From what I understood from the docs then if there is such an insn
then the split does not occur so it would simply match it as an insn
without splitting and at the end would print the #?
Can you please elaborate?
T
23 matches
Mail list logo