Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/register_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) 2000, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 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. |
33 | 33 |
34 | 34 |
35 const int ConcreteRegisterImpl::max_fpr = ConcreteRegisterImpl::max_gpr + | 35 const int ConcreteRegisterImpl::max_fpr = ConcreteRegisterImpl::max_gpr + |
36 2 * FloatRegisterImpl::number_of_registers; | 36 2 * FloatRegisterImpl::number_of_registers; |
37 const int ConcreteRegisterImpl::max_xmm = ConcreteRegisterImpl::max_fpr + | 37 const int ConcreteRegisterImpl::max_xmm = ConcreteRegisterImpl::max_fpr + |
38 2 * XMMRegisterImpl::number_of_registers; | 38 8 * XMMRegisterImpl::number_of_registers; |
39 const char* RegisterImpl::name() const { | 39 const char* RegisterImpl::name() const { |
40 const char* names[number_of_registers] = { | 40 const char* names[number_of_registers] = { |
41 #ifndef AMD64 | 41 #ifndef AMD64 |
42 "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi" | 42 "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi" |
43 #else | 43 #else |