]> Git Repo - qemu.git/commit - target/sparc/translate.c
target-sparc: Store %asi in TB flags
authorRichard Henderson <[email protected]>
Thu, 3 Sep 2015 21:14:33 +0000 (14:14 -0700)
committerRichard Henderson <[email protected]>
Tue, 12 Jul 2016 18:02:06 +0000 (11:02 -0700)
commita6d567e523ed7e928861f3caa5d49368af3f330d
tree3098b9412187f82e6abe69313ee1695579e183ba
parent22e700607aeaff5f5e139d0fdc3d861e5502040c
target-sparc: Store %asi in TB flags

Knowing the value of %asi at translation time means that we
can handle the common settings without a function call.

The steady state appears to be %asi == ASI_P, so that sparcv9
code can use offset forms of lda/sta.  The %asi register gets
pushed and popped on entry to certain functions, but it rarely
takes on values other than ASI_P or ASI_AIUP.  Therefore we're
unlikely to be expanding the set of TBs created.

Tested-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target-sparc/cpu.h
target-sparc/translate.c
This page took 0.029246 seconds and 4 git commands to generate.