[ia64, rfa] vector pattern improvements

Steve Ellcey sje@cup.hp.com
Tue Jan 18 21:32:00 GMT 2011


On Mon, 2011-01-10 at 17:47 -0800, Richard Henderson wrote:

> I'm not sure how to debug this problem, exactly.  How about
> stepping through vect-9.c in the debugger and logging the
> whole session?  Clearly something is going wrong, but I
> don't think we've really identified what that is.
> 
> 
> r~

I don't have very good debugger support on IA64 HP-UX so stepping
through things doesn't work very well.  Here is a patch I have based on
current ToT that fixes all the execution failures on HP-UX and doesn't
break anything on Linux.  I haven't gotten the mulv2si3 and the
vec_extract_even* and vec_extract_odd* instructions working on HP-UX yet
so I just disabled them for TARGET_BIG_ENDIAN for now.  I also disabled
vec_pack_trunc_v4hi and vec_pack_trunc_v2si because they are implemented
using the even/odd extract instructions.  I get some tests failing due
to non-vectorization on HP-UX, but none due to bad results.

I'd like to check this in so that we are at least not generating any bad
code while I continue to look at the instructions I haven't gotten
working, but I wanted to see if you had any comments on the changes
first.  Any input?

Steve Ellcey
sje@cup.hp.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog
Type: text/x-changelog
Size: 773 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110118/e0692bd6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.out
Type: text/x-patch
Size: 9874 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110118/e0692bd6/attachment-0001.bin>


More information about the Gcc-patches mailing list