aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/ls
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2025-08-13 13:55:27 +0800
committerPan Li <pan2.li@intel.com>2025-08-22 21:16:40 +0800
commitf2794c206f112547907ed010b541146dc005d37e (patch)
treed34b8731e622e0d76bb17ded63b82edde189af17 /libjava/gnu/xml/dom/ls
parente12208722dabdad25cc13bb580991b5bf511a104 (diff)
downloadgcc-f2794c206f112547907ed010b541146dc005d37e.zip
gcc-f2794c206f112547907ed010b541146dc005d37e.tar.gz
gcc-f2794c206f112547907ed010b541146dc005d37e.tar.bz2
Match: Add form 3 for unsigned SAT_MUL
This patch would like to try to match the the unsigned SAT_MUL form 3, aka below: #define DEF_SAT_U_MUL_FMT_3(NT, WT) \ NT __attribute__((noinline)) \ sat_u_mul_##NT##_from_##WT##_fmt_3 (NT a, NT b) \ { \ WT x = (WT)a * (WT)b; \ if ((x >> sizeof(a) * 8) == 0) \ return (NT)x; \ else \ return (NT)-1; \ } While WT is T is uint16_t, uint32_t, uint64_t and uint128_t, and NT is is uint8_t, uint16_t, uint32_t and uint64_t. gcc/ChangeLog: * match.pd: Add form 3 for unsigned SAT_MUL. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libjava/gnu/xml/dom/ls')
0 files changed, 0 insertions, 0 deletions