comparison src/share/vm/opto/compile.cpp @ 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 98cb887364d3
children 7bb995fbd3c0 660978a2a31a
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.
2003 case Op_CompareAndSwapP: 2003 case Op_CompareAndSwapP:
2004 case Op_CompareAndSwapN: 2004 case Op_CompareAndSwapN:
2005 case Op_StoreP: 2005 case Op_StoreP:
2006 case Op_StoreN: 2006 case Op_StoreN:
2007 case Op_LoadB: 2007 case Op_LoadB:
2008 case Op_LoadUB:
2008 case Op_LoadUS: 2009 case Op_LoadUS:
2009 case Op_LoadI: 2010 case Op_LoadI:
2011 case Op_LoadUI2L:
2010 case Op_LoadKlass: 2012 case Op_LoadKlass:
2011 case Op_LoadNKlass: 2013 case Op_LoadNKlass:
2012 case Op_LoadL: 2014 case Op_LoadL:
2013 case Op_LoadL_unaligned: 2015 case Op_LoadL_unaligned:
2014 case Op_LoadPLocked: 2016 case Op_LoadPLocked: