6910484: incorrect integer optimization (loosing and op-r in a given example)
Summary: Remove AND operation only if mask is equal to shift.
Reviewed-by: never
## Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.## This code is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License version 2 only, as# published by the Free Software Foundation. Sun designates this# particular file as subject to the "Classpath" exception as provided# by Sun in the LICENSE file that accompanied this code.## This code is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License# version 2 for more details (a copy is included in the LICENSE file that# accompanied this code).## You should have received a copy of the GNU General Public License version# 2 along with this work; if not, write to the Free Software Foundation,# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.## Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,# CA 95054 USA or visit www.sun.com if you need additional information or# have any questions.## Properties for jprtjprt.tools.default.release=jdk1.7.0# Specific platform listjprt.build.platforms=\solaris_sparc_5.10,\solaris_sparcv9_5.10,\solaris_i586_5.10,\solaris_x64_5.10,\linux_i586_2.6,\linux_x64_2.6,\windows_i586_5.0,\windows_x64_5.2# The different build flavors we wantjprt.build.flavors=product,fastdebugjprt.run.flavors=c1,c2jprt.solaris_sparcv9.run.flavors=c2jprt.solaris_x64.run.flavors=c2jprt.windows_x64.run.flavors=c2jprt.linux_x64.run.flavors=c2jprt.run.flavor.c1.option=-clientjprt.run.flavor.c2.option=-server# Explicitly designate what the 32bit match is for the 64bit buildjprt.solaris_sparcv9.build.platform.match32=solaris_sparc_5.10jprt.solaris_x64.build.platform.match32=solaris_i586_5.10# Standard test target for everybodyjprt.test.targets=*-*-*-jvm98# Test targets in test/Makefile (some longer running tests only test c2)jprt.make.rule.test.targets= \ *-product-*-jdk_beans1, \ *-product-*-jdk_beans2, \ *-product-*-jdk_beans3, \ *-product-*-jdk_io, \ *-product-*-jdk_lang, \ *-product-*-jdk_management1, \ *-product-*-jdk_management2, \ *-product-*-jdk_math, \ *-product-*-jdk_misc, \ *-product-*-jdk_net, \ *-product-*-jdk_nio1, \ *-product-*-jdk_nio2, \ *-product-*-jdk_nio3, \ *-product-*-jdk_security1, \ *-product-*-jdk_security2, \ *-product-*-jdk_security3, \ *-product-*-jdk_text, \ *-product-*-jdk_tools1, \ *-product-*-jdk_tools2, \ *-product-*-jdk_util# Some of these are crashing Xvfb or windows manager, need dedicated DISPLAY per test batchjprt2.make.rule.test.targets= \ *-product-*-jdk_awt, \ *-product-*-jdk_rmi, \ *-product-*-jdk_swing, \# Directories needed to buildjprt.bundle.exclude.src.dirs=build