comparison src/cpu/x86/vm/vmreg_x86.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 f95d63e2154a
children a560c9b81f0f
comparison
equal deleted inserted replaced
6146:eba1d5bce9e8 6179:8c92982cbbc4
1 /* 1 /*
2 * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2006, 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.
46 freg = freg->successor(); 46 freg = freg->successor();
47 } 47 }
48 48
49 XMMRegister xreg = ::as_XMMRegister(0); 49 XMMRegister xreg = ::as_XMMRegister(0);
50 for ( ; i < ConcreteRegisterImpl::max_xmm ; ) { 50 for ( ; i < ConcreteRegisterImpl::max_xmm ; ) {
51 regName[i++] = xreg->name(); 51 for (int j = 0 ; j < 8 ; j++) {
52 regName[i++] = xreg->name(); 52 regName[i++] = xreg->name();
53 }
53 xreg = xreg->successor(); 54 xreg = xreg->successor();
54 } 55 }
55 for ( ; i < ConcreteRegisterImpl::number_of_registers ; i ++ ) { 56 for ( ; i < ConcreteRegisterImpl::number_of_registers ; i ++ ) {
56 regName[i] = "NON-GPR-FPR-XMM"; 57 regName[i] = "NON-GPR-FPR-XMM";
57 } 58 }