1 /* |
1 /* |
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
244 JSR_W(0xc9, BRANCH_W), |
244 JSR_W(0xc9, BRANCH_W), |
245 // impdep 0xfe: PicoJava nonpriv |
245 // impdep 0xfe: PicoJava nonpriv |
246 // impdep 0xff: Picojava priv |
246 // impdep 0xff: Picojava priv |
247 |
247 |
248 // wide opcodes |
248 // wide opcodes |
249 ILOAD_W(0xc415, WIDE_CPREF_W), |
249 ILOAD_W(0xc415, WIDE_LOCAL), |
250 LLOAD_W(0xc416, WIDE_CPREF_W), |
250 LLOAD_W(0xc416, WIDE_LOCAL), |
251 FLOAD_W(0xc417, WIDE_CPREF_W), |
251 FLOAD_W(0xc417, WIDE_LOCAL), |
252 DLOAD_W(0xc418, WIDE_CPREF_W), |
252 DLOAD_W(0xc418, WIDE_LOCAL), |
253 ALOAD_W(0xc419, WIDE_CPREF_W), |
253 ALOAD_W(0xc419, WIDE_LOCAL), |
254 ISTORE_W(0xc436, WIDE_CPREF_W), |
254 ISTORE_W(0xc436, WIDE_LOCAL), |
255 LSTORE_W(0xc437, WIDE_CPREF_W), |
255 LSTORE_W(0xc437, WIDE_LOCAL), |
256 FSTORE_W(0xc438, WIDE_CPREF_W), |
256 FSTORE_W(0xc438, WIDE_LOCAL), |
257 DSTORE_W(0xc439, WIDE_CPREF_W), |
257 DSTORE_W(0xc439, WIDE_LOCAL), |
258 ASTORE_W(0xc43a, WIDE_CPREF_W), |
258 ASTORE_W(0xc43a, WIDE_LOCAL), |
259 IINC_W(0xc484, WIDE_CPREF_W_SHORT), |
259 IINC_W(0xc484, WIDE_LOCAL_SHORT), |
260 RET_W(0xc4a9, WIDE_CPREF_W), |
260 RET_W(0xc4a9, WIDE_LOCAL), |
261 |
261 |
262 // PicoJava nonpriv instructions |
262 // PicoJava nonpriv instructions |
263 LOAD_UBYTE(PICOJAVA, 0xfe00), |
263 LOAD_UBYTE(PICOJAVA, 0xfe00), |
264 LOAD_BYTE(PICOJAVA, 0xfe01), |
264 LOAD_BYTE(PICOJAVA, 0xfe01), |
265 LOAD_CHAR(PICOJAVA, 0xfe02), |
265 LOAD_CHAR(PICOJAVA, 0xfe02), |