]> granicus.if.org Git - clang/commit
[mips] Added -mfp64 and -mfp32 options.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 17 Oct 2013 14:55:58 +0000 (14:55 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 17 Oct 2013 14:55:58 +0000 (14:55 +0000)
commitaf7ed9e89074e37453cb2b9365b1882ab71163fb
tree49455a21ef45a88eb83d49c3857dcf756c2746ca
parent12a5a78fa881576a4b030a895bcaf8297db599e6
[mips] Added -mfp64 and -mfp32 options.

These options specify 64-bit FP registers and 32-bit FP registers respectively.

When using -mfp32, the FPU has 16x double-precision registers overlapping with
the 32x single-precision registers (each double-precision register overlaps
two single-precision registers).

When using -mfp64, the FPU has 32x double-precision registers overlapping with
the 32x single-precision registers (each double-precision register overlaps
with one single-precision register and has an additional 32-bits).

MSA requires -mfp64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192899 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/mips-features.c