(R5900) Implementing Vector Support
Richard Henderson
rth@redhat.com
Wed May 18 15:40:00 GMT 2016
On 05/18/2016 05:16 AM, Woon yung Liu wrote:
> I didn't know that, thanks.
>
> I've re-done the instructions and expands, mostly based off the stuff that you shared earlier. Unfortunately, the test function wouldn't compile:
>
>
> testv.c: In function 'testv8mult':
> testv.c:87:1: error: unrecognizable insn:
> }
> ^
> (insn 7 4 8 2 (parallel [
> (set (reg:V8SI 201)
> (vec_select:V8SI (mult:V8SI (sign_extend:V8SI (reg/v:V8HI 198 [ v81 ]))
> (sign_extend:V8SI (reg/v:V8HI 199 [ v82 ])))
> (parallel [
> (const_int 0 [0])
> (const_int 1 [0x1])
> (const_int 4 [0x4])
> (const_int 5 [0x5])
> (const_int 2 [0x2])
> (const_int 3 [0x3])
> (const_int 6 [0x6])
> (const_int 7 [0x7])
> ])))
> (clobber (scratch:V4SI))
> ]) testv.c:86 -1
> (nil))
You'd have to point me at your source to see what's gone wrong.
r~
More information about the Gcc
mailing list