< prev index next >

src/cpu/x86/vm/register_x86.hpp

Print this page

        

*** 160,170 **** // derived registers, offsets, and addresses XMMRegister successor() const { return as_XMMRegister(encoding() + 1); } // accessors ! int encoding() const { assert(is_valid(), err_msg("invalid register (%d)", (int)(intptr_t)this )); return (intptr_t)this; } bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } const char* name() const; }; --- 160,170 ---- // derived registers, offsets, and addresses XMMRegister successor() const { return as_XMMRegister(encoding() + 1); } // accessors ! int encoding() const { assert(is_valid(), "invalid register (%d)", (int)(intptr_t)this ); return (intptr_t)this; } bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } const char* name() const; };
*** 243,253 **** // derived registers, offsets, and addresses KRegister successor() const { return as_KRegister(encoding() + 1); } // accessors ! int encoding() const { assert(is_valid(), err_msg("invalid register (%d)", (int)(intptr_t)this)); return (intptr_t)this; } bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } const char* name() const; }; // The Mask registers, for AVX3 enabled and up chips --- 243,253 ---- // derived registers, offsets, and addresses KRegister successor() const { return as_KRegister(encoding() + 1); } // accessors ! int encoding() const { assert(is_valid(), "invalid register (%d)", (int)(intptr_t)this); return (intptr_t)this; } bool is_valid() const { return 0 <= (intptr_t)this && (intptr_t)this < number_of_registers; } const char* name() const; }; // The Mask registers, for AVX3 enabled and up chips
< prev index next >