diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2020-08-04 15:31:42 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-08-05 00:44:10 +0200 |
commit | 37a4c06f3dac9b0b831a8f34af73422aa4f42fbe (patch) | |
tree | 4138e044ce8fec52b2257ef0ef427a51f173768f /gcc/omp-expand.c | |
parent | 97def1f34c134d78d4423e9ac3e9b262417ea390 (diff) | |
download | gcc-37a4c06f3dac9b0b831a8f34af73422aa4f42fbe.zip gcc-37a4c06f3dac9b0b831a8f34af73422aa4f42fbe.tar.gz gcc-37a4c06f3dac9b0b831a8f34af73422aa4f42fbe.tar.bz2 |
[PATCH] nvptx: Add support for PTX highpart multiplications (HI/SI)
This patch adds support for signed and unsigned, HImode and SImode highpart
multiplications to the nvptx backend.
This patch has been tested on nvptx-none hosted on x86_64-pc-linux-gnu
with a "make" and "make -k check" with no new failures with the
above patch.
2020-08-04 Roger Sayle <roger@nextmovesoftware.com>
gcc/ChangeLog:
* config/nvptx/nvptx.md (smulhi3_highpart, smulsi3_highpart)
(umulhi3_highpart, umulsi3_highpart): New instructions.
gcc/testsuite/ChangeLog:
* gcc.target/nvptx/mul-hi.c: New test.
* gcc.target/nvptx/umul-hi.c: New test.
Diffstat (limited to 'gcc/omp-expand.c')
0 files changed, 0 insertions, 0 deletions