aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ch.cc
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2023-07-10 22:00:08 +0200
committerRobin Dapp <rdapp@ventanamicro.com>2023-07-12 13:57:17 +0200
commita454325bea77a0dd79415480d48233a7c296bc0a (patch)
treed610bc9d5863440a73049cb2ad5ba3b2ca05243d /gcc/tree-ssa-loop-ch.cc
parent450b05ce54d3f08c583c3b5341233ce0df99725b (diff)
downloadgcc-a454325bea77a0dd79415480d48233a7c296bc0a.zip
gcc-a454325bea77a0dd79415480d48233a7c296bc0a.tar.gz
gcc-a454325bea77a0dd79415480d48233a7c296bc0a.tar.bz2
genopinit: Allow more than 256 modes.
Upcoming changes for RISC-V will have us exceed 255 modes or 8 bits. This patch increases the limit to 10 bits and adjusts the hashing function for the gen* and optabs-query lookups accordingly. Consequently, the number of optabs is limited to 4095. gcc/ChangeLog: * genopinit.cc (main): Adjust maximal number of optabs and machine modes. * gensupport.cc (find_optab): Shift optab by 20 and mode by 10 bits. * optabs-query.h (optab_handler): Ditto. (convert_optab_handler): Ditto.
Diffstat (limited to 'gcc/tree-ssa-loop-ch.cc')
0 files changed, 0 insertions, 0 deletions