~ubuntu-branches/ubuntu/wily/mupen64plus/wily-proposed

« back to all changes in this revision

Viewing changes to r4300/x86_64/gcop1_l.c

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2011-02-06 11:57:54 UTC
  • mfrom: (10.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110206115754-t3abbdfr1q3brszp
Tags: 1.5+dfsg1-15
* Upload to unstable
* Updated my maintainer e-mail address
* debian/patches:
  - Add inline_header.patch, Move inline list_empty to header to make it
    inlineable
* Keep dependencies on separate lines in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
void gencvt_s_l(void)
31
31
{
32
32
#if defined(COUNT_INSTR)
33
 
   inc_m32abs(&instr_count[117]);
 
33
   inc_m32rel(&instr_count[117]);
34
34
#endif
35
35
#ifdef INTERPRET_CVT_S_L
36
36
   gencallinterp((unsigned long long)CVT_S_L, 0);
37
37
#else
38
38
   gencheck_cop1_unusable();
39
 
   mov_reg64_m64abs(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fs]));
 
39
   mov_xreg64_m64rel(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fs]));
40
40
   fild_preg64_qword(RAX);
41
 
   mov_reg64_m64abs(RAX, (unsigned long long *)(&reg_cop1_simple[dst->f.cf.fd]));
 
41
   mov_xreg64_m64rel(RAX, (unsigned long long *)(&reg_cop1_simple[dst->f.cf.fd]));
42
42
   fstp_preg64_dword(RAX);
43
43
#endif
44
44
}
46
46
void gencvt_d_l(void)
47
47
{
48
48
#if defined(COUNT_INSTR)
49
 
   inc_m32abs(&instr_count[117]);
 
49
   inc_m32rel(&instr_count[117]);
50
50
#endif
51
51
#ifdef INTERPRET_CVT_D_L
52
52
   gencallinterp((unsigned long long)CVT_D_L, 0);
53
53
#else
54
54
   gencheck_cop1_unusable();
55
 
   mov_reg64_m64abs(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fs]));
 
55
   mov_xreg64_m64rel(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fs]));
56
56
   fild_preg64_qword(RAX);
57
 
   mov_reg64_m64abs(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fd]));
 
57
   mov_xreg64_m64rel(RAX, (unsigned long long *)(&reg_cop1_double[dst->f.cf.fd]));
58
58
   fstp_preg64_qword(RAX);
59
59
#endif
60
60
}