diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-20 13:11:27 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-11-06 18:49:34 -0800 |
commit | a8966ba70a6fdf5602d7235f24215a75aea5c98a (patch) | |
tree | ad98d8be2614025085f0a39a34d42300ec213734 /target/hppa | |
parent | f7b775a9c0750873ae68d33721df5becaf62a59a (diff) | |
download | qemu-a8966ba70a6fdf5602d7235f24215a75aea5c98a.zip qemu-a8966ba70a6fdf5602d7235f24215a75aea5c98a.tar.gz qemu-a8966ba70a6fdf5602d7235f24215a75aea5c98a.tar.bz2 |
target/hppa: Implement CLRBTS, POPBTS, PUSHBTS, PUSHNOM
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa')
-rw-r--r-- | target/hppa/insns.decode | 2 | ||||
-rw-r--r-- | target/hppa/translate.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode index 6f0c3f6..ba7731b 100644 --- a/target/hppa/insns.decode +++ b/target/hppa/insns.decode @@ -381,6 +381,8 @@ bl 111010 ..... ..... 101 ........... n:1 . &BL l=2 \ disp=%assemble_22 b_gate 111010 ..... ..... 001 ........... . . @bl blr 111010 l:5 x:5 010 00000000000 n:1 0 +nopbts 111010 00000 00000 010 0---------1 0 1 # clrbts/popbts +nopbts 111010 00000 ----- 010 00000000000 0 1 # pushbts/pushnom bv 111010 b:5 x:5 110 00000000000 n:1 0 bve 111010 b:5 00000 110 10000000000 n:1 - l=0 bve 111010 b:5 00000 111 10000000000 n:1 - l=2 diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 897b44d..91249d8 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -3782,6 +3782,12 @@ static bool trans_bve(DisasContext *ctx, arg_bve *a) #endif } +static bool trans_nopbts(DisasContext *ctx, arg_nopbts *a) +{ + /* All branch target stack instructions implement as nop. */ + return ctx->is_pa20; +} + /* * Float class 0 */ |