Mercurial > hg > graal-compiler
comparison src/share/vm/opto/lcm.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 | cf407b7d3d78 |
children | e626685e9f6c |
comparison
equal
deleted
inserted
replaced
6146:eba1d5bce9e8 | 6179:8c92982cbbc4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1998, 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. |
137 MachNode *mach = m->as_Mach(); | 137 MachNode *mach = m->as_Mach(); |
138 was_store = false; | 138 was_store = false; |
139 int iop = mach->ideal_Opcode(); | 139 int iop = mach->ideal_Opcode(); |
140 switch( iop ) { | 140 switch( iop ) { |
141 case Op_LoadB: | 141 case Op_LoadB: |
142 case Op_LoadUB: | |
142 case Op_LoadUS: | 143 case Op_LoadUS: |
143 case Op_LoadD: | 144 case Op_LoadD: |
144 case Op_LoadF: | 145 case Op_LoadF: |
145 case Op_LoadI: | 146 case Op_LoadI: |
146 case Op_LoadL: | 147 case Op_LoadL: |
443 | 444 |
444 // Memory op for an implicit null check has to be at the end of the block | 445 // Memory op for an implicit null check has to be at the end of the block |
445 if( e->is_MachNullCheck() && e->in(1) == n ) | 446 if( e->is_MachNullCheck() && e->in(1) == n ) |
446 continue; | 447 continue; |
447 | 448 |
449 // Schedule IV increment last. | |
450 if (e->is_Mach() && e->as_Mach()->ideal_Opcode() == Op_CountedLoopEnd && | |
451 e->in(1)->in(1) == n && n->is_iteratively_computed()) | |
452 continue; | |
453 | |
448 uint n_choice = 2; | 454 uint n_choice = 2; |
449 | 455 |
450 // See if this instruction is consumed by a branch. If so, then (as the | 456 // See if this instruction is consumed by a branch. If so, then (as the |
451 // branch is the last instruction in the basic block) force it to the | 457 // branch is the last instruction in the basic block) force it to the |
452 // end of the basic block | 458 // end of the basic block |