]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/ppc/igen.c
sim: ppc: unify igen filter modules
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Jan 2024 08:12:42 +0000 (03:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Jan 2024 08:37:13 +0000 (03:37 -0500)
commit086d7dbb2e689cf53df66c7edf3ea01c3ff2f1a9
treef21664577b6c8558232fb252fd440756b3aedfe8
parent7811c75893c4078d9b81f05d1642d7833c0ca400
sim: ppc: unify igen filter modules

The common igen code was forked from the ppc long ago.  The filter
module is still pretty similar in API, so we can unfork them with
a little bit of effort.

The filter.c module is still here because of the unique it_is API.
The common igen code doesn't seem to have an equiv API as this only
operates on two strings and not an actual filter object, and it's
easy enough to leave behind to unfork the rest.
sim/Makefile.in
sim/ppc/filter-ppc.c [new file with mode: 0644]
sim/ppc/filter-ppc.h [moved from sim/ppc/filter.h with 73% similarity]
sim/ppc/filter.c [deleted file]
sim/ppc/gen-icache.c
sim/ppc/gen-idecode.c
sim/ppc/gen-semantics.c
sim/ppc/gen-support.c
sim/ppc/igen.c
sim/ppc/ld-insn.c
sim/ppc/local.mk