1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /* __ashldi3.S: 64-bit arithmetic shift left
- *
- * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
- * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
- .text
- .p2align 4
- .globl __ashldi3
- .type __ashldi3,@function
- __ashldi3:
- andicc.p gr10,
- setlos
- andicc.p gr10,
- beqlr icc0,
- ckeq icc1,cc4 ; cc4 is true if 0<N<32
-
- csll.p gr8,gr10,gr8 ,cc4,
- csub gr5,gr10,gr5 ,cc4,
- csrl.p gr9,gr5,gr4 ,cc4,
- csll gr9,gr10,gr9 ,cc4,
- cor.p gr4,gr8,gr8 ,cc4,
-
- csll gr9,gr10,gr8 ,cc4,
- cor.p gr0,gr0,gr9 ,cc4,
- bralr
- .size __ashldi3, .-__ashldi3
|