aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/vis_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-10-18 08:35:58 -0700
committerRichard Henderson <rth@twiddle.net>2011-10-26 14:00:19 -0700
commitadd545ab11450c7049468fccdcd362b47740d9fe (patch)
tree66c307d6aed44f6fb9a88b2ac6c1bd3e02ef8c39 /target-sparc/vis_helper.c
parent6c07355325b7622c595b961b53755ad5450db0c4 (diff)
target-sparc: Implement ALIGNADDR* inline.
While ALIGNADDR was implemented out-of-line, ALIGNADDRL was not implemeneted at all. However, this is a very simple operation so we're better off doing this inline. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-sparc/vis_helper.c')
-rw-r--r--target-sparc/vis_helper.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/target-sparc/vis_helper.c b/target-sparc/vis_helper.c
index 59ca8d785f..40adb47684 100644
--- a/target-sparc/vis_helper.c
+++ b/target-sparc/vis_helper.c
@@ -41,17 +41,6 @@ target_ulong helper_array8(target_ulong pixel_addr, target_ulong cubesize)
GET_FIELD_SP(pixel_addr, 11, 12);
}
-target_ulong helper_alignaddr(CPUState *env, target_ulong addr,
- target_ulong offset)
-{
- uint64_t tmp;
-
- tmp = addr + offset;
- env->gsr &= ~7ULL;
- env->gsr |= tmp & 7ULL;
- return tmp & ~7ULL;
-}
-
uint64_t helper_faligndata(CPUState *env, uint64_t src1, uint64_t src2)
{
uint64_t tmp;