Displaying 4 results from an estimated 4 matches for "new_zx".
Did you mean:
new_x
2018 Jan 17
3
always allow canonicalizing to 8- and 16-bit ops?
...i8 %nz to i32
%cmpxz = icmp ult i32 %zx, %zz
%minxz = select i1 %cmpxz, i32 %zx, i32 %zz
%cmpyz = icmp ult i32 %zy, %zz
%minyz = select i1 %cmpyz, i32 %zy, i32 %zz
%cmpyx = icmp ult i8 %y, %x
%minxyz = select i1 %cmpyx, i32 %minxz, i32 %minyz
%tr_minxyz = trunc i32 %minxyz to i8
%new_zx = sub nsw i32 %zx, %minxyz
%new_zy = sub nsw i32 %zy, %minxyz
%new_zz = sub nsw i32 %zz, %minxyz
%new_x = trunc i32 %new_zx to i8
%new_y = trunc i32 %new_zy to i8
%new_z = trunc i32 %new_zz to i8
call void @use4(i8 %tr_minxyz, i8 %new_x, i8 %new_y, i8 %new_z)
ret void
}
...but x86 g...
2018 Jan 22
2
always allow canonicalizing to 8- and 16-bit ops?
...%zx, %zz
> %minxz = select i1 %cmpxz, i32 %zx, i32 %zz
> %cmpyz = icmp ult i32 %zy, %zz
> %minyz = select i1 %cmpyz, i32 %zy, i32 %zz
> %cmpyx = icmp ult i8 %y, %x
> %minxyz = select i1 %cmpyx, i32 %minxz, i32 %minyz
> %tr_minxyz = trunc i32 %minxyz to i8
>
> %new_zx = sub nsw i32 %zx, %minxyz
> %new_zy = sub nsw i32 %zy, %minxyz
> %new_zz = sub nsw i32 %zz, %minxyz
> %new_x = trunc i32 %new_zx to i8
> %new_y = trunc i32 %new_zy to i8
> %new_z = trunc i32 %new_zz to i8
>
> call void @use4(i8 %tr_minxyz, i8 %new_x, i8 %new_y, i8...
2018 Jan 22
0
always allow canonicalizing to 8- and 16-bit ops?
...i8 %nz to i32
%cmpxz = icmp ult i32 %zx, %zz
%minxz = select i1 %cmpxz, i32 %zx, i32 %zz
%cmpyz = icmp ult i32 %zy, %zz
%minyz = select i1 %cmpyz, i32 %zy, i32 %zz
%cmpyx = icmp ult i8 %y, %x
%minxyz = select i1 %cmpyx, i32 %minxz, i32 %minyz
%tr_minxyz = trunc i32 %minxyz to i8
%new_zx = sub nsw i32 %zx, %minxyz
%new_zy = sub nsw i32 %zy, %minxyz
%new_zz = sub nsw i32 %zz, %minxyz
%new_x = trunc i32 %new_zx to i8
%new_y = trunc i32 %new_zy to i8
%new_z = trunc i32 %new_zz to i8
call void @use4(i8 %tr_minxyz, i8 %new_x, i8 %new_y, i8 %new_z)
ret void
}
...but x86 g...
2018 Jan 23
0
MachineVerifier and undef
...%zx, %zz
> %minxz = select i1 %cmpxz, i32 %zx, i32 %zz
> %cmpyz = icmp ult i32 %zy, %zz
> %minyz = select i1 %cmpyz, i32 %zy, i32 %zz
> %cmpyx = icmp ult i8 %y, %x
> %minxyz = select i1 %cmpyx, i32 %minxz, i32 %minyz
> %tr_minxyz = trunc i32 %minxyz to i8
>
> %new_zx = sub nsw i32 %zx, %minxyz
> %new_zy = sub nsw i32 %zy, %minxyz
> %new_zz = sub nsw i32 %zz, %minxyz
> %new_x = trunc i32 %new_zx to i8
> %new_y = trunc i32 %new_zy to i8
> %new_z = trunc i32 %new_zz to i8
>
> call void @use4(i8 %tr_minxyz, i8 %new_x, i8 %new_y, i8...