[committed] amdgcn: TImode shifts

Andrew Stubbs ams@codesourcery.com
Tue Aug 4 14:59:13 GMT 2020


This patch implements scalar TImode shifts using hardware DImode shifts.

The middle-end cannot synthesize these because BITS_PER_WORD is 32, on 
this architecture, meaning it would try to use SImode shifts, and only 
double-word shifts are implemented.

This fixes a large number of test failures, caused by the need to enable 
TImode to support libgomp.

TImode multiply and divide remain unimplemented.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 200804-timode-shifts.patch
Type: text/x-patch
Size: 4288 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200804/10812314/attachment.bin>


More information about the Gcc-patches mailing list