| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |