public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Generic vector extensions (execute/simd-2.c)?
@ 2006-01-27 12:38 Bernd Schmidt
  2006-01-27 22:09 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Schmidt @ 2006-01-27 12:38 UTC (permalink / raw)
  To: GCC List

Ok... can someone explain to me how the generic vector extension is 
supposed to work?  I've added a few V2HImode operations to the Blackfin 
backend (in a 3.4-based compiler), and now I'm getting aborts all over 
the place because the compiler is trying to make V8HImode registers for 
operations on

   typedef short __attribute__((vector_size (16))) vecint;

Is this something that just isn't supposed to work in 3.4?  Current 
mainline behaves differently and gives me TImode registers (which I'd 
rather prefer not to have to deal with either, though, but the compiler 
appears able to cope with them so far).


Bernd

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Generic vector extensions (execute/simd-2.c)?
  2006-01-27 12:38 Generic vector extensions (execute/simd-2.c)? Bernd Schmidt
@ 2006-01-27 22:09 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2006-01-27 22:09 UTC (permalink / raw)
  To: Bernd Schmidt; +Cc: GCC List

On Fri, Jan 27, 2006 at 12:14:40PM +0100, Bernd Schmidt wrote:
> Is this something that just isn't supposed to work in 3.4?

Probably.  I don't remember that code well.

> Current 
> mainline behaves differently and gives me TImode registers (which I'd 
> rather prefer not to have to deal with either, though, but the compiler 
> appears able to cope with them so far).

If you don't claim to be able to handle TImode at all,
via scalar_mode_suppported_p, then it should fall back
to BLKmode, and operations on that.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-27 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-27 12:38 Generic vector extensions (execute/simd-2.c)? Bernd Schmidt
2006-01-27 22:09 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).