Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Side by Side Diff: sim/ppc/altivec.igen

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/ppc/README ('k') | sim/ppc/altivec_expression.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
OLDNEW
« no previous file with comments | « sim/ppc/README ('k') | sim/ppc/altivec_expression.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698