(R5900) Implementing Vector Support
Woon yung Liu
ysai187@yahoo.com
Wed May 18 12:16:00 GMT 2016
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))
On Tuesday, May 17, 2016 5:10 AM, Richard Henderson <rth@redhat.com> wrote:
The x constrant is for the hi/lo pair, whatever size it is. You should be able
to use that just fine with a 256 bit mode.
More information about the Gcc
mailing list