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_swar.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_swar.s 210 Bytes
BlameHistoryPermalink
Edit
1 2 3 4 5 6 7 8 9 10 11 12

# Test SPARC new SWAR options

  .text

  swar      %r1, %r2, %r3
  swar      %r1, 0x1fff, %r2
  swar      0x1fff, %r1, %r2

  swarcc    %r1, %r2, %r3
  swarcc    %r1, 0x1fff, %r2
  swarcc    0x1fff, %r1, %r2