[M68k] Add subtarget features for M68881/2 FPU
authorMin-Yih Hsu <minyihh@uci.edu>
Mon, 3 Apr 2023 20:18:17 +0000 (13:18 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Thu, 6 Apr 2023 18:09:23 +0000 (11:09 -0700)
commitaee4399f58f4826180138fb294b6b0359c892709
tree423c35a5af2961e2582b70db481881a5a4ae4401
parentb4ab398cb11b6adb39bcd13db315b59c763d1b08
[M68k] Add subtarget features for M68881/2 FPU

Note that technically both M68000/010 can use M68881, despite the fact
that usually only M68020 and newer ISAs are equipped with M68881/2.
M68040 and newer processors have builtin M68882.

Differential Revision: https://reviews.llvm.org/D147479
llvm/lib/Target/M68k/M68k.td
llvm/lib/Target/M68k/M68kInstrInfo.td
llvm/lib/Target/M68k/M68kSubtarget.cpp
llvm/lib/Target/M68k/M68kSubtarget.h
llvm/test/CodeGen/M68k/m6888x-features.ll [new file with mode: 0644]