dcederman created this revision.
dcederman added a reviewer: jyknight.
Herald added subscribers: cfe-commits, jrtc27, fedor.sergeev.
Repository:
rC Clang
https://reviews.llvm.org/D47137
Files:
lib/Basic/Targets/Sparc.cpp
Index: lib/Basic/Targets/Sparc.cpp
==
dcederman created this revision.
dcederman added a reviewer: jyknight.
Herald added subscribers: cfe-commits, jrtc27, fedor.sergeev.
This allows the use of the casa instruction available in most Leon3's.
Repository:
rC Clang
https://reviews.llvm.org/D47138
Files:
lib/Driver/ToolChains/Arch
dcederman updated this revision to Diff 147965.
dcederman added a comment.
Also use the leon arch for the Myriad processors.
https://reviews.llvm.org/D47138
Files:
lib/Driver/ToolChains/Arch/Sparc.cpp
Index: lib/Driver/ToolChains/Arch/Sparc.cpp
==
dcederman added a comment.
In https://reviews.llvm.org/D47138#1106509, @jyknight wrote:
> Separately, I think it'd be a good idea to refactor to put this info into the
> SparcCPUInfo struct, so that it's harder for them to get out of sync.
I did not find a good way to access the SparcCPUInfo s
dcederman updated this revision to Diff 148170.
dcederman added a comment.
Added missing tests.
https://reviews.llvm.org/D47138
Files:
lib/Driver/ToolChains/Arch/Sparc.cpp
test/Driver/sparc-as.c
Index: test/Driver/sparc-as.c
=
dcederman updated this revision to Diff 148205.
dcederman added a comment.
Herald added a subscriber: eraman.
Added test cases, f32-f63, d0-d31, and q0-q15.
https://reviews.llvm.org/D47137
Files:
lib/Basic/Targets/Sparc.cpp
test/CodeGen/sparcv8-inline-asm.c
test/CodeGen/sparcv9-inline-as
This revision was automatically updated to reflect the committed changes.
Closed by commit rC333157: [Sparc] Use the leon arch for Leon3's when
using an external assembler (authored by dcederman, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D47138
Files:
lib/Driver/ToolCha
dcederman updated this revision to Diff 148351.
dcederman added a comment.
Removed the non-existing registers f33, f35, and so on. I also removed the dX
and qX aliases. After trying them they felt more confusing than helpful.
https://reviews.llvm.org/D47137
Files:
lib/Basic/Targets/Sparc.cpp
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333510: [Sparc] Add floating-point register names (authored
by dcederman, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D47137?vs=148351&id=1