Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 01:07:15 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 genassym.c swtch.s
Message-ID:  <200302020907.h1297FeV080444@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/02/02 01:07:15 PST

  Modified files:
    sys/ia64/ia64        genassym.c swtch.s 
  Log:
  Export IA32 from opt_ia32.h to assembly so that we can eliminate
  saving and restoring ia32 specific registers when switching
  context and ia32 support has not been compiled-in. The primary
  reason for this change is that one of the ia32 registers (ar.fcr)
  is wrongly marked as invalid by the simulator. Now that we avoid
  using the register when possible, usability is improved. The
  secundary reason is that it saves us 7 loads and stores.
  
  Note that the PCB will continue to have room for these registers,
  irrespective of the IA32 option. There are no benefits that make
  it worthwhile.
  
  Revision  Changes    Path
  1.32      +6 -0      src/sys/ia64/ia64/genassym.c
  1.25      +10 -0     src/sys/ia64/ia64/swtch.s

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302020907.h1297FeV080444>