From add545ab11450c7049468fccdcd362b47740d9fe Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 18 Oct 2011 08:35:58 -0700 Subject: 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 --- target-sparc/vis_helper.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'target-sparc/vis_helper.c') 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; -- cgit v1.2.3