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

Side by Side Diff: opcodes/crx-opc.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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 | « opcodes/crx-dis.c ('k') | opcodes/d10v-dis.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* crx-opc.c -- Table of opcodes for the CRX processor. 1 /* crx-opc.c -- Table of opcodes for the CRX processor.
2 Copyright 2004, 2005, 2007 Free Software Foundation, Inc. 2 Copyright 2004, 2005, 2007, 2012 Free Software Foundation, Inc.
3 Contributed by Tomer Levi NSC, Israel. 3 Contributed by Tomer Levi NSC, Israel.
4 Originally written for GAS 2.12 by Tomer Levi. 4 Originally written for GAS 2.12 by Tomer Levi.
5 5
6 This file is part of the GNU opcodes library. 6 This file is part of the GNU opcodes library.
7 7
8 This library is free software; you can redistribute it and/or modify 8 This library is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option) 10 the Free Software Foundation; either version 3, or (at your option)
11 any later version. 11 any later version.
12 12
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 const int crx_num_traps = ARRAY_SIZE (crx_traps); 694 const int crx_num_traps = ARRAY_SIZE (crx_traps);
695 695
696 /* cst4 operand mapping: 696 /* cst4 operand mapping:
697 The value in entry <N> is mapped to the value <N> 697 The value in entry <N> is mapped to the value <N>
698 Value Binary mapping 698 Value Binary mapping
699 cst4_map[N] -->> N 699 cst4_map[N] -->> N
700 700
701 Example (for N=5): 701 Example (for N=5):
702 702
703 cst4_map[5]=-4 -->> 5 */ 703 cst4_map[5]=-4 -->> 5 */
704 const long cst4_map[] = 704 const int cst4_map[] =
705 { 705 {
706 0, 1, 2, 3, 4, -4, -1, 7, 8, 16, 32, 20, 12, 48 706 0, 1, 2, 3, 4, -4, -1, 7, 8, 16, 32, 20, 12, 48
707 }; 707 };
708 708
709 const int cst4_maps = ARRAY_SIZE (cst4_map); 709 const int cst4_maps = ARRAY_SIZE (cst4_map);
710 710
711 /* CRX instructions that don't have arguments. */ 711 /* CRX instructions that don't have arguments. */
712 const char* no_op_insn[] = 712 const char* no_op_insn[] =
713 { 713 {
714 "di", "ei", "eiwait", "nop", "retx", "wait", NULL 714 "di", "ei", "eiwait", "nop", "retx", "wait", NULL
715 }; 715 };
OLDNEW
« no previous file with comments | « opcodes/crx-dis.c ('k') | opcodes/d10v-dis.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698