sim: riscv: fix building on 32-bit hosts w/out int128
authorMike Frysinger <vapier@gentoo.org>
Sat, 1 May 2021 19:58:09 +0000 (15:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 1 May 2021 20:26:31 +0000 (16:26 -0400)
commitbd12755bf409cb931682a13f08e41d87fac84ab5
treed490e06dbec9c94129ede76bbc772821b0ef2201
parentf1ca32150cbc83e15a2002d3543f5dd7256ad248
sim: riscv: fix building on 32-bit hosts w/out int128

Check for __SIZEOF_INT128__ before trying to use the builtin type.
This fixes building on some 32-bit systems like x86.
sim/riscv/ChangeLog
sim/riscv/sim-main.c