This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Status of SSE builtins


>  4) Missaligned load/store buitins
>     The use of missaligned loads/stores results in GCC eventually
>     keeping the values in register and producing "internal" move for it
>     resulting in trap.  I am not sure how to model this properly.

Make the misaligned load explicit as a special operation.
You can use insv / extv in your pattern, or use two memory references
that are explicitly aligned upwards / downwards and put the pieces
together with arithmetic.

> 5) generic SIMD support is quite broken right now as SSE does not
>     allow scalar opration on elements of vectors registers, like Sparc and
>     other sane instruction sets most probably do.  I am not quite sure how
>     to get arround here and I also think the RTL produced is invalid when
>     dealing with vectors containing elements smaller than word size. 

Can you give an example?

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]