Mercurial > hg > graal-compiler
comparison src/share/vm/code/vmreg.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 |
comparison
equal
deleted
inserted
replaced
6146:eba1d5bce9e8 | 6179:8c92982cbbc4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1998, 2010, 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. |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "asm/assembler.hpp" | 26 #include "asm/assembler.hpp" |
27 #include "code/vmreg.hpp" | 27 #include "code/vmreg.hpp" |
28 | 28 |
29 // First VMReg value that could refer to a stack slot | 29 // First VMReg value that could refer to a stack slot |
30 VMReg VMRegImpl::stack0 = (VMReg)(intptr_t)((ConcreteRegisterImpl::number_of_registers + 1) & ~1); | 30 VMReg VMRegImpl::stack0 = (VMReg)(intptr_t)((ConcreteRegisterImpl::number_of_registers + 7) & ~7); |
31 | 31 |
32 // VMRegs are 4 bytes wide on all platforms | 32 // VMRegs are 4 bytes wide on all platforms |
33 const int VMRegImpl::stack_slot_size = 4; | 33 const int VMRegImpl::stack_slot_size = 4; |
34 const int VMRegImpl::slots_per_word = wordSize / stack_slot_size; | 34 const int VMRegImpl::slots_per_word = wordSize / stack_slot_size; |
35 | 35 |