mirror of https://github.com/xemu-project/xemu.git
target-mips/dsp_helper.c: Remove unused function get_DSPControl_24()
The function get_DSPControl_24() is unused; remove it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
This commit is contained in:
parent
b231c103af
commit
3414e93eb7
|
@ -76,15 +76,6 @@ static inline void set_DSPControl_24(uint32_t flag, int len, CPUMIPSState *env)
|
||||||
env->active_tc.DSPControl |= (target_ulong)flag << 24;
|
env->active_tc.DSPControl |= (target_ulong)flag << 24;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline uint32_t get_DSPControl_24(int len, CPUMIPSState *env)
|
|
||||||
{
|
|
||||||
uint32_t filter;
|
|
||||||
|
|
||||||
filter = (0x01 << len) - 1;
|
|
||||||
|
|
||||||
return (env->active_tc.DSPControl >> 24) & filter;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void set_DSPControl_pos(uint32_t pos, CPUMIPSState *env)
|
static inline void set_DSPControl_pos(uint32_t pos, CPUMIPSState *env)
|
||||||
{
|
{
|
||||||
target_ulong dspc;
|
target_ulong dspc;
|
||||||
|
|
Loading…
Reference in New Issue