提交 68cae3d8 编写于 作者: B bellard

bswapq fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1894 c046a42c-6fe2-441c-8c8c-71466251a162
上级 c91fde65
...@@ -187,6 +187,7 @@ void helper_imulq_EAX_T0(void); ...@@ -187,6 +187,7 @@ void helper_imulq_EAX_T0(void);
void helper_imulq_T0_T1(void); void helper_imulq_T0_T1(void);
void helper_divq_EAX_T0(void); void helper_divq_EAX_T0(void);
void helper_idivq_EAX_T0(void); void helper_idivq_EAX_T0(void);
void helper_bswapq_T0(void);
void helper_cmpxchg8b(void); void helper_cmpxchg8b(void);
void helper_cpuid(void); void helper_cpuid(void);
void helper_enter_level(int level, int data32); void helper_enter_level(int level, int data32);
......
...@@ -3395,6 +3395,10 @@ void helper_idivq_EAX_T0(void) ...@@ -3395,6 +3395,10 @@ void helper_idivq_EAX_T0(void)
EDX = r1; EDX = r1;
} }
void helper_bswapq_T0(void)
{
T0 = bswap64(T0);
}
#endif #endif
float approx_rsqrt(float a) float approx_rsqrt(float a)
......
...@@ -225,7 +225,7 @@ void OPPROTO op_bswapl_T0(void) ...@@ -225,7 +225,7 @@ void OPPROTO op_bswapl_T0(void)
#ifdef TARGET_X86_64 #ifdef TARGET_X86_64
void OPPROTO op_bswapq_T0(void) void OPPROTO op_bswapq_T0(void)
{ {
T0 = bswap64(T0); helper_bswapq_T0();
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册