[Bug target/41531] -O1 -fschedule-insns swscale error

2009-10-01 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2009-10-01 06:55 ---
x86_64 and x86 has issues with pre-RA scheduling pass because of register
requirements of the target.

*** This bug has been marked as a duplicate of 24319 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c   |target
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41531



[Bug target/41531] -O1 -fschedule-insns swscale error

2009-10-01 Thread lucier at math dot purdue dot edu


--- Comment #3 from lucier at math dot purdue dot edu  2009-10-01 13:19 
---
This is not the same problem as 24319.  Vlad thinks he fixed 24319, and indeed
the problem in this bug report from 4.4 is gone.  The reported problem in 4.5
is different.

Don't turn 234319 into a grab bag of any problem that arises when using
-fschedule-insns.

And, again, I can't reopen this bug.

Brad


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41531



[Bug target/41531] -O1 -fschedule-insns swscale error

2009-10-01 Thread ubizjak at gmail dot com


--- Comment #4 from ubizjak at gmail dot com  2009-10-01 16:28 ---
(In reply to comment #3)
 This is not the same problem as 24319.  Vlad thinks he fixed 24319, and indeed
 the problem in this bug report from 4.4 is gone.  The reported problem in 4.5
 is different.
 
 Don't turn 234319 into a grab bag of any problem that arises when using
 -fschedule-insns.
 
 And, again, I can't reopen this bug.

OK, ok, lets' reopen this PR and leave to Vlad to decide.

BTW: The test doesn't fail for x86_64-linux with or without -m32. Annoying.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|DUPLICATE   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41531



[Bug target/41531] -O1 -fschedule-insns swscale error

2009-10-01 Thread ubizjak at gmail dot com


--- Comment #5 from ubizjak at gmail dot com  2009-10-01 16:59 ---
(In reply to comment #3)
 This is not the same problem as 24319.  Vlad thinks he fixed 24319, and indeed
 the problem in this bug report from 4.4 is gone.  The reported problem in 4.5
 is different.

Oh, I have noticed that 4.5 has different problem, involving assembler errors.
From attached assembler:

/APP
 # 912 swscale_template.c 1
lea 11*8+4*4*256(%rdi), %rdx  
stuff deleted ...
 cmp %r15d, %rax  
more stuff deleted ...
jb  1b 

 # 0  2
/NO_APP

This simply means invalid asm constraints or operand prefixes in asm.

Thus, WONTFIX for 4.4 and INVALID for 4.5.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41531