This is an archive of the discontinued LLVM Phabricator instance.

[NDS32 1/46] Recognise nds32 in triple parsing code
Needs ReviewPublic

Authored by shiva0217 on Jan 12 2017, 11:08 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

I'm sharing an initial set of patches that incrementally add NDS32 CodeGen and MC layer for NDS32 to LLVM.
I reorganize the patches and hook up the printer ASAP as @joerg's suggestion.
After adding the printer, each patch would add the instructions with Codegen testcase.

Diff Detail

Event Timeline

shiva0217 updated this revision to Diff 84228.Jan 12 2017, 11:08 PM
shiva0217 retitled this revision from to [NDS32 1/22] Recognise nds32 in triple parsing code.
shiva0217 updated this object.
shiva0217 added a subscriber: llvm-commits.
joerg added a subscriber: joerg.Jan 13 2017, 4:13 AM

Missing test case for endianess?

lib/Support/Triple.cpp
288

Why two triple strings here?

shiva0217 updated this revision to Diff 84519.Jan 15 2017, 10:33 PM

Add endian test case and remove redundant triple as suggested by @joerg

shiva0217 updated this revision to Diff 84644.Jan 17 2017, 2:32 AM
shiva0217 added a subscriber: davide.

Update patch with unified form as @davide suggested

shiva0217 updated this revision to Diff 84938.Jan 18 2017, 10:31 PM

Remove NDS32 in LLVM_NATIVE_ARCH because it's an experimental target.
Use -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=NDS32 configuration option to build the target.

shiva0217 updated this revision to Diff 88664.Feb 16 2017, 12:44 AM
shiva0217 retitled this revision from [NDS32 1/22] Recognise nds32 in triple parsing code to [NDS32 1/46] Recognise nds32 in triple parsing code.
shiva0217 edited the summary of this revision. (Show Details)

Did anything happen with these NDS32 patches?
Is there any effort to add support for it?

Herald added a project: Restricted Project. · View Herald TranscriptAug 9 2022, 10:37 AM

Did anything happen with these NDS32 patches?
Is there any effort to add support for it?

As far as I know, there is no active effort to support NDS32.