def _load_registers(self):
        registers_all = self.regs_seg + \
                        self.regs_fpu + \
                        self.regs_mmx + \
                        self.regs_flags + \
                        self.regs_debug + \
                        self.regs_control

        if self._arch_mode == ARCH_X86_MODE_32:
            registers_all += self.regs_32 + \
                             self.regs_xmm_32 + \
                             self.regs_ymm_32

            registers_gp_all = self.regs_32

            self._registers_gp_base = [name for name, _ in self.regs_32_base]
        else:
            registers_all += self.regs_64 + \
                             self.regs_xmm_64 + \
                             self.regs_ymm_64

            registers_gp_all = self.regs_64

            self._registers_gp_base = [name for name, _ in self.regs_64_base]

        for name, size in registers_all:
            self._registers_all.append(name)
            self._registers_size[name] = size

        for name, size in registers_gp_all:
            self._registers_gp_all.append(name)
            self._registers_size[name] = size

        self._registers_flags = [name for name, _ in self.regs_flags]
dataset/ETHPy150Open programa-stic/barf-project/barf/barf/arch/x86/x86base.py/X86ArchitectureInformation._load_registers/original