[all-commits] [llvm/llvm-project] 4ad517: [CSKY] Add floating operation support including fl...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Wed Jan 26 23:55:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ad517e6b0902ced1aeb179cabc9129a2007eca4
      https://github.com/llvm/llvm-project/commit/4ad517e6b0902ced1aeb179cabc9129a2007eca4
  Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
    M llvm/lib/Target/CSKY/CSKY.td
    M llvm/lib/Target/CSKY/CSKYConstantIslandPass.cpp
    M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
    A llvm/lib/Target/CSKY/CSKYInstrFormatsF1.td
    A llvm/lib/Target/CSKY/CSKYInstrFormatsF2.td
    M llvm/lib/Target/CSKY/CSKYInstrInfo.cpp
    M llvm/lib/Target/CSKY/CSKYInstrInfo.h
    M llvm/lib/Target/CSKY/CSKYInstrInfo.td
    A llvm/lib/Target/CSKY/CSKYInstrInfoF1.td
    A llvm/lib/Target/CSKY/CSKYInstrInfoF2.td
    M llvm/lib/Target/CSKY/CSKYRegisterInfo.td
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.h
    M llvm/test/CodeGen/CSKY/br.ll
    A llvm/test/CodeGen/CSKY/fpu/base-d.ll
    A llvm/test/CodeGen/CSKY/fpu/base-f.ll
    A llvm/test/CodeGen/CSKY/fpu/br-d.ll
    A llvm/test/CodeGen/CSKY/fpu/br-f.ll
    A llvm/test/CodeGen/CSKY/fpu/cmp-d.ll
    A llvm/test/CodeGen/CSKY/fpu/cmp-f.ll
    A llvm/test/CodeGen/CSKY/fpu/cvt-d.ll
    A llvm/test/CodeGen/CSKY/fpu/cvt-f.ll
    A llvm/test/CodeGen/CSKY/fpu/ldst-d.ll
    A llvm/test/CodeGen/CSKY/fpu/ldst-f.ll
    A llvm/test/CodeGen/CSKY/fpu/lit.local.cfg
    A llvm/test/MC/CSKY/fpuv2.s
    A llvm/test/MC/CSKY/fpuv3.s

  Log Message:
  -----------
  [CSKY] Add floating operation support including float and double

CSKY arch has multiple FPU instruction versions such as FPU, FPUv2 and FPUv3 to implement floating operations.
For now, we just only support FPUv2 and FPUv3.

It includes the encoding, asm parsing of instructions and codegen of DAG nodes.




More information about the All-commits mailing list