]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: ppc: implement 128-bit register read/writes with sim-endian APIs
authorMike Frysinger <vapier@gentoo.org>
Thu, 11 Jan 2024 05:44:27 +0000 (00:44 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 18 Jan 2024 06:49:56 +0000 (01:49 -0500)
commit48157d30b6c7ba955c5bc83b82f645531905285a
treeb567e740e97b2bb7e26ed7578aa163058b2f0233
parentdcc6c863ed4e0198f9df590ea86554f550c42237
sim: ppc: implement 128-bit register read/writes with sim-endian APIs

We have APIs in sim-endian for working with 128-bit values like this code
is already doing for 8/16/32/64-bit values.  Switch over to that to make
it a bit simpler, and drop the WITH_ALTIVEC check.  The code probably is
only used when altivec is enabled, but it doesn't add much to always
compile it in, and avoids #ifdef rot by not actually compiling it.
sim/ppc/psim.c