#include <xbyak.h>
Definition at line 690 of file xbyak.h.
◆ anonymous enum
◆ RegExp() [1/2]
Xbyak::RegExp::RegExp |
( |
size_t | disp = 0 | ) |
|
|
inline |
Definition at line 697 of file xbyak.h.
697: scale_(0), disp_(disp) { }
◆ RegExp() [2/2]
Xbyak::RegExp::RegExp |
( |
const Reg & | r, |
|
|
int | scale = 1 ) |
|
inline |
Definition at line 698 of file xbyak.h.
699 : scale_(scale)
700 , disp_(0)
701 {
703 if (scale == 0) return;
705 if (
r.getBit() >= 128 || scale != 1) {
707 } else {
709 }
710 }
@ ERR_BAD_SIZE_OF_REGISTER
◆ getBase()
const Reg & Xbyak::RegExp::getBase |
( |
| ) |
const |
|
inline |
◆ getDisp()
size_t Xbyak::RegExp::getDisp |
( |
| ) |
const |
|
inline |
◆ getIndex()
const Reg & Xbyak::RegExp::getIndex |
( |
| ) |
const |
|
inline |
◆ getRex()
uint8 Xbyak::RegExp::getRex |
( |
| ) |
const |
|
inline |
Definition at line 740 of file xbyak.h.
741 {
743 return rex ?
uint8(rex | 0x40) : 0;
744 }
◆ getScale()
int Xbyak::RegExp::getScale |
( |
| ) |
const |
|
inline |
◆ isVsib()
bool Xbyak::RegExp::isVsib |
( |
int | bit = 128 | 256 | 512 | ) |
const |
|
inline |
Definition at line 711 of file xbyak.h.
bool isBit(uint32 bit) const
◆ operator==()
bool Xbyak::RegExp::operator== |
( |
const RegExp & | rhs | ) |
const |
|
inline |
Definition at line 722 of file xbyak.h.
723 {
724 return base_ == rhs.base_ && index_ == rhs.index_ && disp_ == rhs.disp_ && scale_ == rhs.scale_;
725 }
◆ optimize()
RegExp Xbyak::RegExp::optimize |
( |
| ) |
const |
|
inline |
Definition at line 712 of file xbyak.h.
713 {
715
717 exp.base_ = index_;
718 exp.scale_ = 1;
719 }
720 return exp;
721 }
◆ verify()
void Xbyak::RegExp::verify |
( |
| ) |
const |
|
inline |
◆ operator+
Definition at line 756 of file xbyak.h.
757{
760 if (!
ret.index_.getBit()) {
ret.index_ = b.index_;
ret.scale_ = b.scale_; }
761 if (b.base_.getBit()) {
762 if (
ret.base_.getBit()) {
764
765 ret.index_ = b.base_;
766
769 } else {
771 }
772 }
773 ret.disp_ += b.disp_;
775}
void swap(picojson::value &x, picojson::value &y)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
◆ operator-
The documentation for this class was generated from the following file:
- libraries/fc/libraries/ff/depends/xbyak/xbyak/xbyak.h