1. 14 11月, 2009 1 次提交
    • D
      MIPS: Fix emulation of 64-bit FPU on FPU-less 64-bit CPUs. · da0bac33
      David Daney 提交于
      Running a 64-bit kernel on a 64-bit CPU without an FPU would cause the
      emulator to run in 32-bit mode.  The c0_Status.FR bit is wired to zero
      on systems without an FPU, so using that bit to decide how the emulator
      behaves doesn't allow for proper emulation on 64-bit FPU-less
      processors.
      
      Instead, we need to select the emulator mode based on the user-space
      ABI.  Since the thread flag TIF_32BIT_REGS is used to set c0_Status.FR,
      we can just use it to decide if the emulator should be in 32-bit or
      64-bit mode.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      da0bac33
  2. 02 11月, 2009 38 次提交
  3. 01 10月, 2009 1 次提交