- User Since
- Apr 26 2017, 5:01 AM (234 w, 6 d)
Jan 7 2018
Are you planning to soon introduce an asm parser and disassembler so that you can test the encodings? I recommend doing this early do that you can test those along the way.
Yes, we plan to support asm parser in disassembler, but I would not say these were nearby plans. Currently we can just generate assembler and then use GCC as with Nios2 support to generate object-files. But I'm OK with your recommendation, I think we can focus on that before continue committing new instructions.
Jan 4 2018
Dec 14 2017
Dec 6 2017
Dec 1 2017
Nov 21 2017
Fixed a typo when assigning default CPU for Nios2.
Added a test checking for acceptance of Nios2 processors.
Nov 20 2017
Updates according to Craig's comments.
Nov 6 2017
Sep 21 2017
Thanks Eric for your help.
Sep 18 2017
I've prepared another two patches, that include DAG selector, assembly printing and all NiosII instructions. But it makes sense to upload them for review after I commit the current with Subtarget. Could you please take a look?
Sep 9 2017
I made necessary fixes after Craig's comments.
Aug 29 2017
May 26 2017
May 25 2017
Changes according to Craig's comments.
Is there enough functional here that there should be tests for? i.e. make sure march/mcpu switches are recognized, that the target is recognized, etc.
Initially I thought about adding such check for the triple is supported. But it was not obvious how to do that and llvm-experienced guys around said it was not a big sense to add tests at this stage.
Even now I use "not not llc" to make my lit test work. Anyway I tried to create such test case, please look. The test checks for -mtriple=nios2 and -march=nios2 are accepted. Further I will expand this tests with -mcpu after adding CPUs.
May 19 2017
I've updated patch according to comments from David and Craig.
May 17 2017
May 14 2017
May 4 2017
Thanks Craig for the good advice. You are right I can check llc with MCU triple using option -use-ctors. Please see updated patch.