aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-09-11 05:40:36 +0200
committerTom de Vries <tdevries@suse.de>2020-09-11 07:27:54 +0200
commit60e537a026c037d8f3e5678acd148f9e44b4fb9c (patch)
tree7ff10798396325141304df53bfd180a4342fbbf9 /gcc/tree-loop-distribution.c
parent848e74bea1e8031925d3efe2d85b555a3cf8db38 (diff)
downloadgcc-60e537a026c037d8f3e5678acd148f9e44b4fb9c.zip
gcc-60e537a026c037d8f3e5678acd148f9e44b4fb9c.tar.gz
gcc-60e537a026c037d8f3e5678acd148f9e44b4fb9c.tar.bz2
[nvptx] Fix printing of 128-bit constant (negative case)
For this code: ... __int128 min_one = -1; ... we currently generate: ... .visible .global .align 8 .u64 min_one[2] = { -1, 0 }; ... Fix this in nvptx_assemble_value, such that we have instead: ... .visible .global .align 8 .u64 min_one[2] = { -1, -1 }; ... gcc/ChangeLog: * config/nvptx/nvptx.c (nvptx_assemble_value): Handle negative __int128. gcc/testsuite/ChangeLog: * gcc.target/nvptx/int128.c: New test.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions