commit | d27fe7c3af30a9b6281e7aafb5d603efe64ff939 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Apr 16 20:43:00 2024 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed May 15 10:03:44 2024 +0200 |
tree | b947bed44fe177b37fe06d08fc462e49f22ba84b | |
parent | ebc9401a4067fd61afea811d1d059d8ac0fc5db9 [diff] |
target/hppa: Manage PSW_X and PSW_B in translator PSW_X is cleared after every instruction, and only set by RFI. PSW_B is cleared after every non-branch, or branch not taken, and only set by taken branches. We can clear both bits with a single store, at most once per TB. Taken branches set PSW_B, at most once per TB. Reviewed-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>