comparison src/share/vm/opto/machnode.cpp @ 6179:8c92982cbbc4

7119644: Increase superword's vector size up to 256 bits Summary: Increase vector size up to 256-bits for YMM AVX registers on x86. Reviewed-by: never, twisti, roland
author kvn
date Fri, 15 Jun 2012 01:25:19 -0700
parents 6729bbc1fcd6
children da91efe96a93
comparison
equal deleted inserted replaced
6146:eba1d5bce9e8 6179:8c92982cbbc4
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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. 7 * published by the Free Software Foundation.
437 return false; 437 return false;
438 438
439 // Don't remateralize somebody with bound inputs - it stretches a 439 // Don't remateralize somebody with bound inputs - it stretches a
440 // fixed register lifetime. 440 // fixed register lifetime.
441 uint idx = oper_input_base(); 441 uint idx = oper_input_base();
442 if( req() > idx ) { 442 if (req() > idx) {
443 const RegMask &rm = in_RegMask(idx); 443 const RegMask &rm = in_RegMask(idx);
444 if( rm.is_bound1() || rm.is_bound2() ) 444 if (rm.is_bound(ideal_reg()))
445 return false; 445 return false;
446 } 446 }
447 447
448 return true; 448 return true;
449 } 449 }