OSDN Git Service

target/ppc: Remove silly GETFIELD/SETFIELD/MASK_TO_LSH macros
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 Dec 2018 01:26:20 +0000 (12:26 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Dec 2018 22:24:23 +0000 (09:24 +1100)
commit6187ec05edc240204935fdf0d89cded563fdeab4
treec497c6bfedbce4d4500aa1d6e380726d97e4c61f
parenta7d4b1bf418acae58a3f0649c578cc0451136f46
target/ppc: Remove silly GETFIELD/SETFIELD/MASK_TO_LSH macros

The (only) obvious use for these macros is constructing and parsing guest
visible register fields.  But the way they're constructed, they're only
valid when used on a *host* long, whose size shouldn't be visible to the
guest at all.

They also have no current users, so just get rid of them.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h