Mercurial > hg > truffle
comparison src/cpu/x86/vm/stubRoutines_x86_64.hpp @ 11222:8f33568d693d
Merge
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 06 Aug 2013 14:39:47 +0200 |
parents | 0f57ccdb9084 |
children |
comparison
equal
deleted
inserted
replaced
11221:8d4bd13c6983 | 11222:8f33568d693d |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2013, 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. |
40 friend class StubGenerator; | 40 friend class StubGenerator; |
41 | 41 |
42 private: | 42 private: |
43 static address _get_previous_fp_entry; | 43 static address _get_previous_fp_entry; |
44 static address _get_previous_sp_entry; | 44 static address _get_previous_sp_entry; |
45 static address _verify_mxcsr_entry; | |
46 | 45 |
47 static address _f2i_fixup; | 46 static address _f2i_fixup; |
48 static address _f2l_fixup; | 47 static address _f2l_fixup; |
49 static address _d2i_fixup; | 48 static address _d2i_fixup; |
50 static address _d2l_fixup; | 49 static address _d2l_fixup; |
51 | 50 |
52 static address _float_sign_mask; | 51 static address _float_sign_mask; |
53 static address _float_sign_flip; | 52 static address _float_sign_flip; |
54 static address _double_sign_mask; | 53 static address _double_sign_mask; |
55 static address _double_sign_flip; | 54 static address _double_sign_flip; |
56 static address _mxcsr_std; | |
57 // shuffle mask for fixing up 128-bit words consisting of big-endian 32-bit integers | |
58 static address _key_shuffle_mask_addr; | |
59 | 55 |
60 public: | 56 public: |
61 | 57 |
62 static address get_previous_fp_entry() | 58 static address get_previous_fp_entry() |
63 { | 59 { |
65 } | 61 } |
66 | 62 |
67 static address get_previous_sp_entry() | 63 static address get_previous_sp_entry() |
68 { | 64 { |
69 return _get_previous_sp_entry; | 65 return _get_previous_sp_entry; |
70 } | |
71 | |
72 static address verify_mxcsr_entry() | |
73 { | |
74 return _verify_mxcsr_entry; | |
75 } | 66 } |
76 | 67 |
77 static address f2i_fixup() | 68 static address f2i_fixup() |
78 { | 69 { |
79 return _f2i_fixup; | 70 return _f2i_fixup; |
112 static address double_sign_flip() | 103 static address double_sign_flip() |
113 { | 104 { |
114 return _double_sign_flip; | 105 return _double_sign_flip; |
115 } | 106 } |
116 | 107 |
117 static address mxcsr_std() | 108 # include "stubRoutines_x86.hpp" |
118 { | |
119 return _mxcsr_std; | |
120 } | |
121 | |
122 static address key_shuffle_mask_addr() { return _key_shuffle_mask_addr; } | |
123 | 109 |
124 }; | 110 }; |
125 | 111 |
126 #endif // CPU_X86_VM_STUBROUTINES_X86_64_HPP | 112 #endif // CPU_X86_VM_STUBROUTINES_X86_64_HPP |