Adding log files to gcc dump and adding testcase-rtl

2022-05-24 Thread RICHU NORMAN
Hi, I am a beginner in gcc. I am trying to add an instruction to riscv-gcc.It would be helpful could help with a few tips . 1.How to write comments to rtl or create a custom log file to log comments to rtl dump? 2.How to run testsuite ? 3.Is there a way to directly run an rtl test case? Like giving

Re: [PATCH Linux] powerpc: add documentation for HWCAPs

2022-05-24 Thread Segher Boessenkool
On Tue, May 24, 2022 at 11:52:00AM +0200, Florian Weimer wrote: > * Nicholas Piggin: > > > +2. Facilities > > +- > > +The Power ISA uses the term "facility" to describe a class of instructions, > > +registers, interrupts, etc. The presence or absence of a facility indicates > > +whethe

Re: [PATCH Linux] powerpc: add documentation for HWCAPs

2022-05-24 Thread Segher Boessenkool
Hi! On Tue, May 24, 2022 at 07:38:28PM +1000, Nicholas Piggin wrote: > Thanks for all the comments and corrections. It should be nearing the > point where it is useful now. Yes I do think it would be useful to align > this more with OpenPOWER docs (and possibly eventually move it into the > ABI, g

Re: [PATCH Linux] powerpc: add documentation for HWCAPs

2022-05-24 Thread Florian Weimer via Gcc
* Nicholas Piggin: > +2. Facilities > +- > +The Power ISA uses the term "facility" to describe a class of instructions, > +registers, interrupts, etc. The presence or absence of a facility indicates > +whether this class is available to be used, but the specifics depend on the > +ISA v

[PATCH Linux] powerpc: add documentation for HWCAPs

2022-05-24 Thread Nicholas Piggin via Gcc
Take the arm64 HWCAP documentation file and adjust it for powerpc. Signed-off-by: Nicholas Piggin --- Thanks for all the comments and corrections. It should be nearing the point where it is useful now. Yes I do think it would be useful to align this more with OpenPOWER docs (and possibly eventua