This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Remove "dirflag" register


This patch finally removes direction flag "register" from i386 machine

2006-12-07 Uros Bizjak <>

       * config/i386/i386.h (FIRST_PSEUDO_REGISTER): Define to 53.
       (FIXED_REGISTERS, CALL_USED_REGISTERS): Remove dir register.
       (REG_ALLOC_ORDER): Remove one element due to removal of dir register.
       (FRAME_POINTER_REGNUM): Update register number to 20.
       (REG_CLASS_CONTENTS): Update contents due to removed dir register.
       (HI_REGISTER_NAMES): Remove "dirflag".

       * config/i386/i386.c (regclass_map): Remove dirflag entry.
       (dbx_register_map, dbx64_register_map, svr4_dbx_register_map):
       Remove dir entry.
       (ix86_md_asm_clobbers): Remove "dirflag" default asm clobber.

       * config/i386/ (R10_REG, R11_REG): Renumber.
       (sse_prologue_save, *sse_prologue_save_insn): Renumber
       hardcoded SSE register numbers.

       * config/i386/ (mmx_emms, mmx_femms): Renumber
       hardcoded MMX register numbers.

Patch was bootstrapped on i686-pc-linux-gnu, regression tested for c, c++ _and_ fortran.

OK for mainline?


Attachment: i386-nodirflag.diff
Description: Binary data

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]