Displaying 11 results from an estimated 11 matches for "amdgpusubtarget".
2013 Oct 10
0
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
...er.cpp (working copy)
> @@ -45,32 +45,63 @@
> TargetRegistry::RegisterAsmPrinter(TheAMDGPUTarget, createAMDGPUAsmPrinterPass);
> }
>
> +AMDGPUAsmPrinter::AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer)
> + : AsmPrinter(TM, Streamer)
> +{
> + const AMDGPUSubtarget &STM = TM.getSubtarget<AMDGPUSubtarget>();
> +
> + DisasmEnabled = STM.dumpCode() &&
> + STM.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS &&
> + ! Streamer.hasRawTextSupport();
> +}
> +
> /// We need to ov...
2013 Oct 10
2
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
Hi,
This patch adds R600/SI disassembly text to compiled object files, when
a code dump is requested, to assist debugging in Mesa clients.
Here's an example of the output in a Mesa client with a corresponding
patch and RADEON_DUMP_SHADERS set:
Shader Disassembly:
S_WQM_B64 EXEC, EXEC ; BEFE0A7E
S_MOV_B32 M0, SGPR6 ; BEFC0306
2014 Oct 03
2
[LLVMdev] Weird problems with cos (was Re: [PATCH v3 2/3] R600: Add carry and borrow instructions. Use them to implement UADDO/USUBO)
...n Vesely wrote:
> v2: tighten the sub64 tests
> v3: rename to CARRY/BORROW
>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
>
> ---
> lib/Target/R600/AMDGPUISelLowering.h | 2 +
> lib/Target/R600/AMDGPUInstrInfo.td | 6 ++
> lib/Target/R600/AMDGPUSubtarget.h | 8 ++
> lib/Target/R600/EvergreenInstructions.td | 3 +
> lib/Target/R600/R600ISelLowering.cpp | 39 +++++++-
> test/CodeGen/R600/add.ll | 154 +++++++++++++++++--------------
> test/CodeGen/R600/sub.ll | 18 ++--
> test/CodeGen/R6...
2020 Jun 30
5
[RFC] Semi-Automatic clang-format of files with low frequency
...that were on separate lines on a single line. Whenever I run clang-format,
> I typically git checkout -p to discard all of these.
>
> For example, it likes to take member initializer lists and pack them into
> as few lines as possible. This is just asking for merge conflicts (e.g.
> AMDGPUSubtarget has a ton of fields in it, and out of tree code is
> constantly adding new fields for unreleased subtargets). It also mangles
> BuildMI calls, where I believe every .add() should be on its own line, and
> stringing this into BuildMI().addFoo().addBar() is way less readable.
>
> I als...
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...U/AMDGPUInstructions.td
> llvm/trunk/lib/Target/AMDGPU/AMDGPUIntrinsics.td
> llvm/trunk/lib/Target/AMDGPU/AMDGPURegisterInfo.cpp
> llvm/trunk/lib/Target/AMDGPU/AMDGPURegisterInfo.h
> llvm/trunk/lib/Target/AMDGPU/AMDGPURegisterInfo.td
> llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.h
> llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
> llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.h
> llvm/trunk/lib/Target/AMDGPU/AMDGPUUtil.cpp
> llvm/trunk/lib/Target/AMDGPU/AMDGPUUtil.h
> llvm/trunk/lib/Target/AMDGPU/AMDIL.h
> llvm/trunk/lib/T...
2013 Jan 14
0
[LLVMdev] [cfe-dev] RFC: put commit messages in *-commits subject lines?
...nclude/llvm/ADT/StringRef.h
include/llvm/Analysis/DOTGraphTraitsPass.h
include/llvm/Object/RelocVisitor.h include/llvm/Support/YAMLTraits.h
lib/Analysis/ValueTracking.cpp lib/MC/ELFObjectWriter.cpp
lib/MC/WinCOFFObjectWriter.cpp lib/Support/APFloat.cpp
lib/Support/DynamicLibrary.cpp lib/Target/R600/AMDGPUSubtarget.h
lib/Target/R600/AMDILDevice.h
lib/Target/R600/AMDILPeepholeOptimizer.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp (and on and on)
So I assume the new message would be:
[llvm-commits] [llvm] r172358 - Remove redundant 'llvm::' qualifications
Which seems reasonable. (I think the re...
2012 Nov 30
2
[LLVMdev] [cfe-dev] RFC: put commit messages in *-commits subject lines?
David Blaikie wrote:
> On Fri, Nov 30, 2012 at 9:43 AM, Sebastian Pop <spop at codeaurora.org> wrote:
> > Hi,
> >
> > Sebastian Pop wrote:
> >> Chris Lattner wrote:
> >> > I'm in favor of it. Of course, the truly awesomest thing would be something like:
> >> >
> >> > [cfe-commits] r167788 - [lib/Analysis] Fix bad CFG
2020 Jun 28
12
[RFC] Semi-Automatic clang-format of files with low frequency
(Copying from Discourse)
All
A couple of months ago I added the following page documentation
Clang-Formatted-Status
<http://clang.llvm.org/docs/ClangFormattedStatus.html> to track the status
of “How Much” clang-formatted the
LLVM/Clang project is.
I’m a contributor to clang-format and would like to see LLVM 100% clang
formatted so we can use LLVM as a massive test-suite for clang-format
2012 Nov 30
0
[LLVMdev] [cfe-dev] RFC: put commit messages in *-commits subject lines?
On Fri, Nov 30, 2012 at 9:43 AM, Sebastian Pop <spop at codeaurora.org> wrote:
> Hi,
>
> Sebastian Pop wrote:
>> Chris Lattner wrote:
>> > I'm in favor of it. Of course, the truly awesomest thing would be something like:
>> >
>> > [cfe-commits] r167788 - [lib/Analysis] Fix bad CFG construction bug when handling C++ 'try' statements.
2013 Jan 24
3
[LLVMdev] [cfe-dev] RFC: put commit messages in *-commits subject lines?
...nclude/llvm/ADT/StringRef.h
include/llvm/Analysis/DOTGraphTraitsPass.h
include/llvm/Object/RelocVisitor.h include/llvm/Support/YAMLTraits.h lib/Analysis/ValueTracking.cpp lib/MC/ELFObjectWriter.cpp lib/MC/WinCOFFObjectWriter.cpp lib/Support/APFloat.cpp lib/Support/DynamicLibrary.cpp lib/Target/R600/AMDGPUSubtarget.h lib/Target/R600/AMDILDevice.h lib/Target/R600/AMDILPeepholeOptimizer.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp (and on and on)
So I assume the new message would be:
[llvm-commits] [llvm] r172358 - Remove redundant 'llvm::' qualifications
Which seems reasonable. (I think the re...
2013 Dec 31
4
[LLVMdev] [Patch][RFC] Change R600 data layout
Hi,
I've prepared patches for both LLVM and Clang to change the
datalayout for R600. This may seem like a bold move, but I think it is
warranted. R600/SI is a strange architecture in that it uses 64bit
pointers but does not support 64 bit arithmetic except for load/store
operations that roughly map onto getelementptr.
The current datalayout for r600 includes n32:64, which is odd