OLD | NEW |
1 # Altivec instruction set, for PSIM, the PowerPC simulator. | 1 # Altivec instruction set, for PSIM, the PowerPC simulator. |
2 | 2 |
3 # Copyright 2003, 2010, 2012 Free Software Foundation, Inc. | 3 # Copyright 2003-2013 Free Software Foundation, Inc. |
4 | 4 |
5 # Contributed by Red Hat Inc; developed under contract from Motorola. | 5 # Contributed by Red Hat Inc; developed under contract from Motorola. |
6 # Written by matthew green <mrg@redhat.com>. | 6 # Written by matthew green <mrg@redhat.com>. |
7 | 7 |
8 # This file is part of GDB. | 8 # This file is part of GDB. |
9 | 9 |
10 # This program is free software; you can redistribute it and/or modify | 10 # This program is free software; you can redistribute it and/or modify |
11 # it under the terms of the GNU General Public License as published by | 11 # it under the terms of the GNU General Public License as published by |
12 # the Free Software Foundation; either version 3 of the License, or | 12 # the Free Software Foundation; either version 3 of the License, or |
13 # (at your option) any later version. | 13 # (at your option) any later version. |
(...skipping 2336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2350 int i; | 2350 int i; |
2351 for (i = 0; i < 8; i++) | 2351 for (i = 0; i < 8; i++) |
2352 (*vS).h[AV_HINDEX(i)] = (signed16)(signed8)(*vB).b[AV_BINDEX(i + 8)]; | 2352 (*vS).h[AV_HINDEX(i)] = (signed16)(signed8)(*vB).b[AV_BINDEX(i + 8)]; |
2353 PPC_INSN_VR(VS_BITMASK, VB_BITMASK); | 2353 PPC_INSN_VR(VS_BITMASK, VB_BITMASK); |
2354 | 2354 |
2355 0.4,6.VS,11.0,16.VB,21.718:VX:av:vupklsh %VD, %VB:Vector Unpack Low Signed Half
Word | 2355 0.4,6.VS,11.0,16.VB,21.718:VX:av:vupklsh %VD, %VB:Vector Unpack Low Signed Half
Word |
2356 int i; | 2356 int i; |
2357 for (i = 0; i < 4; i++) | 2357 for (i = 0; i < 4; i++) |
2358 (*vS).w[i] = (signed32)(signed16)(*vB).h[AV_HINDEX(i + 4)]; | 2358 (*vS).w[i] = (signed32)(signed16)(*vB).h[AV_HINDEX(i + 4)]; |
2359 PPC_INSN_VR(VS_BITMASK, VB_BITMASK); | 2359 PPC_INSN_VR(VS_BITMASK, VB_BITMASK); |
OLD | NEW |