bugRAPP - Raster Processing Primitives - Bugs: bug #32618, build fails for...

 
 

bug #32618: build fails for "powerpc-gnu-altivec" and "powerpc64-gnu-altivec", v0.6 and 60c47549

Submitted by:  Hans-Peter Nilsson <hpataxis>
Submitted on:  Mon 28 Feb 2011 12:24:45 AM UTC  
 
Category: NoneSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Hans-Peter Nilsson <hpataxis>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 03 Mar 2011 09:35:20 PM UTC, comment #2:

FWIW, regarding my previous comment, I get inconclusive performance numbers when all applicable constant arguments are changed from constant vectors to vec_splat_* (for 0, xor is used before, applicable splat insn after, various minor differences in the generated assembly code). Fix attempt abandoned.

Hans-Peter Nilsson <hpataxis>
Project AdministratorIn charge of this item.
Thu 03 Mar 2011 07:04:24 AM UTC, comment #1:

Two bugs:
- Vector initializers have another syntax in FSF gcc; it doesn't follow the AltiVec PIM for language reasons.
- Assignments and parameters had different types than the supported ones, making newer gcc warn.

Both fixed for FSF gcc, but I need someone to verify that Apple GCC (preferably one that just supports the PIM syntax) works; not forgetting "make check".

I'll see about adding tune files, as soon as I'd fixed another issue with he altivec backend: it should make better use of vec_splat_*.

Hans-Peter Nilsson <hpataxis>
Project AdministratorIn charge of this item.
Mon 28 Feb 2011 12:24:45 AM UTC, original submission:

On powerpc-unknown-linux-gnu and powerpc64-unknown-linux-gnu machines (rapp triples in summary), with gcc-4.0.2 and gcc-4.3.2 respectively, build fails for configure --enable-backend=altivec with similar errors for all tested combinations:

/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c: In function 'rc_pixop_abs_u8':
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:317: error: can't convert between vector values of differ
ent size
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:317: note: use -flax-vector-conversions to permit convers
ions between vectors with differing element types or numbers of subparts
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:317: error: incompatible types in assignment
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:317: error: can't convert between vector values of differ
(many more similar errors)
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:654: error: incompatible types in assignment
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:654: error: can't convert between vector values of different size
/home/hp/rapp-0.6/compute/tune/../../compute/vector/rc_pixop.c:654: error: incompatible types in assignment
make[5]: *** [librappcompute_simd_la-rc_pixop.lo] Error 1
make[5]: Leaving directory `/home/hp/o6/compute/tune/simd_1.dir/compute/vector'
make[4]: *** [all-recursive] Error 1

Hans-Peter Nilsson <hpataxis>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hpataxis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Mar 2011 07:04:24 AM UTChpataxisStatusConfirmed=>Fixed
      Assigned toNone=>hpataxis
      Open/ClosedOpen=>Closed
    Mon 28 Feb 2011 12:25:14 AM UTChpataxisStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1