Mercurial > hg > truffle
comparison src/cpu/x86/vm/register_x86.hpp @ 20970:a560c9b81f0f
Add suport for oops in vector registers at safepoints
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 14 Apr 2015 22:20:07 -0700 |
parents | 8c92982cbbc4 |
children |
comparison
equal
deleted
inserted
replaced
20969:534f0dde2810 | 20970:a560c9b81f0f |
---|---|
159 | 159 |
160 // accessors | 160 // accessors |
161 int encoding() const { assert(is_valid(), err_msg("invalid register (%d)", (int)(intptr_t)this )); return (intptr_t)this; } | 161 int encoding() const { assert(is_valid(), err_msg("invalid register (%d)", (int)(intptr_t)this )); return (intptr_t)this; } |
162 bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } | 162 bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } |
163 const char* name() const; | 163 const char* name() const; |
164 const char* sub_word_name(int offset) const; | |
164 }; | 165 }; |
165 | 166 |
166 | 167 |
167 // The XMM registers, for P3 and up chips | 168 // The XMM registers, for P3 and up chips |
168 CONSTANT_REGISTER_DECLARATION(XMMRegister, xnoreg , (-1)); | 169 CONSTANT_REGISTER_DECLARATION(XMMRegister, xnoreg , (-1)); |