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

Side by Side Diff: sim/frv/memory.c

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/frv/interrupts.c ('k') | sim/frv/mloop.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* frv memory model. 1 /* frv memory model.
2 Copyright (C) 1999-2001, 2003, 2007-2012 Free Software Foundation, 2 Copyright (C) 1999-2013 Free Software Foundation, Inc.
3 Inc.
4 Contributed by Red Hat 3 Contributed by Red Hat
5 4
6 This file is part of the GNU simulators. 5 This file is part of the GNU simulators.
7 6
8 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version. 10 (at your option) any later version.
12 11
13 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 void 1045 void
1047 frv_set_write_queue_slot (SIM_CPU *current_cpu) 1046 frv_set_write_queue_slot (SIM_CPU *current_cpu)
1048 { 1047 {
1049 FRV_VLIW *vliw = CPU_VLIW (current_cpu); 1048 FRV_VLIW *vliw = CPU_VLIW (current_cpu);
1050 int slot = vliw->next_slot - 1; 1049 int slot = vliw->next_slot - 1;
1051 CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (current_cpu); 1050 CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (current_cpu);
1052 int ix = CGEN_WRITE_QUEUE_INDEX (q) - 1; 1051 int ix = CGEN_WRITE_QUEUE_INDEX (q) - 1;
1053 CGEN_WRITE_QUEUE_ELEMENT *item = CGEN_WRITE_QUEUE_ELEMENT (q, ix); 1052 CGEN_WRITE_QUEUE_ELEMENT *item = CGEN_WRITE_QUEUE_ELEMENT (q, ix);
1054 CGEN_WRITE_QUEUE_ELEMENT_PIPE (item) = (*vliw->current_vliw)[slot]; 1053 CGEN_WRITE_QUEUE_ELEMENT_PIPE (item) = (*vliw->current_vliw)[slot];
1055 } 1054 }
OLDNEW
« no previous file with comments | « sim/frv/interrupts.c ('k') | sim/frv/mloop.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698