How can I add comments to files generated in rtl dump?

2022-05-18 Thread RICHU NORMAN
Hi,
I have added the new instruction in opcode and invoked it using
asm_volatile .The new instruction is generated in the object dump.
Now I  wrote an RTL template for the same instruction in a .md file and
some cost value calculation in cfile.Then I run the sample c code that
invokes the instruction defined in .md file.
I examined the files generated in -fdump-rtl-all. But the added instruction
is not generated .
*How can I add comments to files generated in rtl dump?*
 I have added fprintf (dump_file, "Test hello world\n"); to *gcc/cfgrtl.cc *and
observed *.expand file .But I could not find the test word in that file .

-- 
Richu Norman
Research Scholar
Department of Computer Science
Cochin University of Science and Technology
Ph : (+91)-8848455627


Proposal for the merger and patch set

2022-05-18 Thread Gaius Mulley via Gcc
Richard Biener  writes:

> I suggest you post merge patches where the branch touches generic code
> for review again, indicating parts that have been approved in the
> past.

Hello Richard, David and the GCC Steering Committee,

Firstly thank you for the release of gcc-12.1 and secondly thank you
for taking the time to review the Modula-2 front end and for valuable
review feedback over the years.  I hope you have all managed to have a
break after the 12.1 release.

Here for reference are the previous patch emails and reviews

[For historical completeness
https://gcc.gnu.org/pipermail/gcc-patches/2019-November/534683.html
]

Jan 18 2021 patches:

https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563732.html

Richard's  review of the patches last year.

https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563747.html


June 2021 patches:

https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573103.html

Richard's  review of the June patches last year.

https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573147.html

Richard Guenther   writes:

> I suggest you post merge patches where the branch touches generic
> code for review again, indicating parts that have been approved in
> the past.

Sure I'll try and group the subsequent email patches into the following 
categories:

  1.  all GCC files which have been patched.
  2.  the top level /gm2tools contents.
  3.  the top level /libgm2 contents.
  4.  the glue code (between Modula-2 and GCC) contained in /gcc/m2/gm2-gcc.
  (these have not been reviewed before).  These will be posted in
  3 sub parts.
  5.  all the driver code /gcc/m2.
  6.  /gcc/m2/Make-lang.in
  (not been reviewed before)
  7.  /gcc/doc/gm2.texi
  (not been reviewed before)

The full source code is available via:

  $ git clone git://gcc.gnu.org/git/gcc.git gcc-git-devel-modula2
  $ cd gcc-git-devel-modula2
  $ git checkout devel/modula-2

currently it is being merged every 1-3 days or so.  One of the
recommendations after the last review was to maintain this branch.
Over the last year the changes include many bug porting fixes, removal
of compiler build warnings, migrating the code base to C++, improving
accuracy/detail of compiler error messages and improving error recovery.

It builds on gnu/linux/amd64, gnu/linux/aarch64, gnu/linux/sparc64,
solaris/sparc64, gnu/linux/i386, gnu/linux/ppc64le, gnu/linux/power7
(and probably others).  Also built with profiled lto on amd64 and
aarch64.

Richard Guenther   writes

> There’s at least BSD in the list of primary targets. It would be
> nice to enable more but that can be done during stage1.

and now FreeBSD 13 i586 providing a patch was applied for C++.
[Interestingly csinl, ctanl and friends are missing on FreeBSD 13
which cause all runtime tests to fail].

(Test results posted to gcc-testresults).

On amd64-gnu-linux it builds as a cross compiler for aarch64.
http://floppsie.comp.glam.ac.uk/Southwales/gaius/web/bare-metal-m2.html

I've built GCC from the master branch enabled c,c++,fortran,go,d
and then built GCC from devel/modula-2 enabled c,c++,fortran,go,d,m2
and no further regressions were seen.

Anyway I suspect this email is long enough for now - feel free to ask
questions, 9 patches posted to the gcc-patches list.  Let me know if you
require the patch set and/or new files in a different format,

regards,
Gaius


[RISCV] RISC-V GNU Toolchain Meeting Cancell (May 19, 2022)

2022-05-18 Thread jiawei
Hi all,



Tomorrow meeting will cancel since there are few new topics to discuss.  




FYI,  




Kito had bumped current RVV toolchain support into a rvv-next branch on 
riscv-gnu-toolchain repo,

 https://github.com/riscv-collab/riscv-gnu-toolchain/tree/rvv-next




 Zhong Juzhe had finish RVV tests with tensorflow project, now it can pass all 
tensorflow operator with auto-vectoraztion,

remove -mrvv option and fixed bugs tested on dejagnu. Remain some 
arithmetic questions: 
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1075




Pamler handle a riscv-gnu-toolchain submodule shift PR and make some 
disscuss: https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1074

   


   FP16 support discuss: 
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1077




Regrads,

PLCT Jiawei

Updates to my GCC Newbies Guide

2022-05-18 Thread David Malcolm via Gcc
The generated HTML for my GCC Newbies Guide is now at:
  https://gcc-newbies-guide.readthedocs.io/en/latest/
as I seem to be unable to update the dmalcolm.fedorapeople.org
subdomain where I used to upload the HTML.  Please update any links you
see to it to point to the new location.

I've also refreshed some of the content (e.g. we use C++11 now [1], and
no longer use svn), and I've added a new "getting started" section [2]

Hope this is helpful
Dave

[1] 
https://gcc-newbies-guide.readthedocs.io/en/latest/gotchas-and-faq.html#what-language-is-gcc-implemented-in
[2] https://gcc-newbies-guide.readthedocs.io/en/latest/getting-started.html




gcc-9-20220518 is now available

2022-05-18 Thread GCC Administrator via Gcc
Snapshot gcc-9-20220518 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/9-20220518/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 9 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch releases/gcc-9 
revision d3f2045a9ca5193dae9faf8b5fff25b2770b36d9

You'll find:

 gcc-9-20220518.tar.xzComplete GCC

  SHA256=9357fde53617dd652d2234e887c91df99ad34b1b84f72100c4ac307f842bf58f
  SHA1=90fb43772537efc5d887b168c671c9f912ee39d7

Diffs from 9-20220511 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-9
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


OMPD Branch

2022-05-18 Thread Mohamed Atef via Gcc
Hello,
  Should I commit to devel/omp/gcc-11 branch?