|
Relates :
|
I'd like to add rules like the following:
instruct Repl2F_reg(vecD dst, regF src) %{
match(Set dst (ReplicateF src));
expand %{
iRegI tmp;
MoveF2I_reg_reg(tmp, src);
Repl2F_regI(dst,tmp);
%}
%}
instruct vsrl4I_regI(vecX dst, vecX src, iRegI shift) %{
match(Set dst (URShiftVI src (MoveI2F shift)));
expand %{
vecX tmp;
Repl16B_reg(tmp, shift);
vsrl4I_reg(dst, src, tmp);
%}
%}
but the generated expand code will crash because _bottom_type is not
set.
|