~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/mpn/x86/k6/mmx/rshift.asm

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl  AMD K6 mpn_rshift -- mpn right shift.
2
2
 
3
3
dnl  Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
4
 
dnl 
 
4
dnl
5
5
dnl  This file is part of the GNU MP Library.
6
 
dnl 
 
6
dnl
7
7
dnl  The GNU MP Library is free software; you can redistribute it and/or
8
8
dnl  modify it under the terms of the GNU Lesser General Public License as
9
9
dnl  published by the Free Software Foundation; either version 2.1 of the
10
10
dnl  License, or (at your option) any later version.
11
 
dnl 
 
11
dnl
12
12
dnl  The GNU MP Library is distributed in the hope that it will be useful,
13
13
dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
15
dnl  Lesser General Public License for more details.
16
 
dnl 
 
16
dnl
17
17
dnl  You should have received a copy of the GNU Lesser General Public
18
18
dnl  License along with the GNU MP Library; see the file COPYING.LIB.  If
19
 
dnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -
20
 
dnl  Suite 330, Boston, MA 02111-1307, USA.
 
19
dnl  not, write to the Free Software Foundation, Inc., 51 Franklin Street,
 
20
dnl  Fifth Floor, Boston, MA 02110-1301, USA.
21
21
 
22
22
include(`../config.m4')
23
23
 
62
62
 
63
63
        shrdl(  %cl, %edx, %eax)        C return value
64
64
 
65
 
        shrl    %cl, %edx
 
65
        shrl    %cl, %edx
66
66
 
67
67
        movl    %edx, (%ebx)            C dst limb
68
68
        popl    %ebx
104
104
Zdisp(  movq,   0,(%ebx,%eax,4), %mm0)
105
105
        incl    %eax
106
106
 
107
 
        psrlq   %mm6, %mm0
 
107
        psrlq   %mm6, %mm0
108
108
 
109
109
Zdisp(  movd,   %mm0, 0,(%ecx,%eax,4))
110
110
        jnz     L(simple)