Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 624:337400e7a5dd
6797305: Add LoadUB and LoadUI opcode class
Summary: Add a LoadUB (unsigned byte) and LoadUI (unsigned int) opcode class so we have these load optimizations in the first place and do not need to handle them in the matcher.
Reviewed-by: never, kvn
author | twisti |
---|---|
date | Mon, 09 Mar 2009 03:17:11 -0700 |
parents | 35ae4dd6c27c |
children | 7bb995fbd3c0 |
comparison
equal
deleted
inserted
replaced
623:9adddb8c0fc8 | 624:337400e7a5dd |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2009 Sun Microsystems, Inc. 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. | 7 * published by the Free Software Foundation. |
413 static const TypeInt *CC_GT; // [1] == ONE | 413 static const TypeInt *CC_GT; // [1] == ONE |
414 static const TypeInt *CC_EQ; // [0] == ZERO | 414 static const TypeInt *CC_EQ; // [0] == ZERO |
415 static const TypeInt *CC_LE; // [-1,0] | 415 static const TypeInt *CC_LE; // [-1,0] |
416 static const TypeInt *CC_GE; // [0,1] == BOOL (!) | 416 static const TypeInt *CC_GE; // [0,1] == BOOL (!) |
417 static const TypeInt *BYTE; | 417 static const TypeInt *BYTE; |
418 static const TypeInt *UBYTE; | |
418 static const TypeInt *CHAR; | 419 static const TypeInt *CHAR; |
419 static const TypeInt *SHORT; | 420 static const TypeInt *SHORT; |
420 static const TypeInt *POS; | 421 static const TypeInt *POS; |
421 static const TypeInt *POS1; | 422 static const TypeInt *POS1; |
422 static const TypeInt *INT; | 423 static const TypeInt *INT; |