diff options
author | Chenghua Xu <xuchenghua@loongson.cn> | 2022-08-24 15:34:07 +0800 |
---|---|---|
committer | Chenghua Xu <paul.hua.gm@gmail.com> | 2022-08-25 09:18:26 +0800 |
commit | b169b67d7dafe2b786f87c31d6b2efc603fd880c (patch) | |
tree | 81d2b612f1c13bfea61a4b5ea12f8855a1756a61 /libcpp | |
parent | e8fc33aabcfd8f4a4e384e022e4812caca556e0e (diff) | |
download | gcc-b169b67d7dafe2b786f87c31d6b2efc603fd880c.zip gcc-b169b67d7dafe2b786f87c31d6b2efc603fd880c.tar.gz gcc-b169b67d7dafe2b786f87c31d6b2efc603fd880c.tar.bz2 |
LoongArch: Fix pr106459 by use HWIT instead of 1UL.
gcc/ChangeLog:
PR target/106459
* config/loongarch/loongarch.cc (loongarch_build_integer):
Use HOST_WIDE_INT.
* config/loongarch/loongarch.h (IMM_REACH): Likewise.
(HWIT_1U): New Defined.
(LU12I_OPERAND): Use HOST_WIDE_INT.
(LU32I_OPERAND): Likewise.
(LU52I_OPERAND): Likewise.
(HWIT_UC_0xFFF): Likwise.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/pr106459.c: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions