Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Martin / daiteq-binutils

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • daiteq-binutils
  • tests
  • sparc
  • test_fp_single.s
  • Martin's avatar
    daiteq binutils for SPARCv8 and RISC-V targets, incl. new FPU and SWAR instructions · b4cf8b87
    Martin committed Mar 28, 2022
    b4cf8b87
test_fp_single.s 338 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

# Test SPARC old FPU instructions for single precision

  .text

  fmovs     %f0, %f1
  fnegs     %f0, %f1
  fabss     %f0, %f1
  fadds     %f0, %f1, %f2
  fsubs     %f0, %f1, %f2
  fmuls     %f0, %f1, %f2
  fdivs     %f0, %f1, %f2
  fsqrts    %f0, %f1
  fstoi     %f0, %f1
  fitos     %f0, %f1
  fcmps     %f0, %f1
  fcmpes    %f0, %f1