0

Here&there I find the likes of mulqi3.S & divmodhi4.S.

Is there a reference anywhere on gnu.org on how to browse current official revisions of such architecture specific source code? What is the relation to LLVM?
If not, can you point me to a current resource? Download, if browsing is not supported.

What do "they" use for regression testing architecture specific routines;
is there something I could easily use myself?

6
  • (I hope a reference on (gcc?.)gnu.org stays useful after changes such as migrating from SVN to GitHub.) Commented Mar 9, 2024 at 12:07
  • (Even the 4.6 libgcc.S looks better.) Commented Mar 10, 2024 at 1:27
  • Library source code as of 2024/03: github libgcc/config/avr Commented Mar 24, 2024 at 8:36
  • I do not undersatnd the question. What do you mean by "browse" source code? You can "browse" with anything, print it on a printer, or use any text editor. What is the relation to LLVM? There is no relation to LLVM. What do you mean? can you point me to a current resource? gcc.gnu.org/releases.html shows how to use git and FTP mirrors. However, most commonly I use mirror on github github.com/gcc-mirror/gcc . Commented Jun 27, 2024 at 14:00
  • What do "they" use for regression testing architecture specific routines what? see github.com/gcc-mirror/gcc/tree/master/gcc/testsuite readme and gnu.org/software/dejagnu . I could easily use myself? no. Use cmake and ctest. | Please keep one question per question. You ask how to get official source code of GCC, how to test GCC code, if you can use testing fromework from GCC yourself, how to browse the source code, and about some files, mulqi? Commented Jun 27, 2024 at 14:03

1 Answer 1

1

You can browse using gitweb at https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git

From there, goto tree views and navigate to the parts of the AVR backend:

Most convenient is to browse on file, so you would

$ git clone git://gcc.gnu.org/git/gcc.git SomeLocalDir

When you are interested in a specific branch or tag, like branches/releases/gcc-14 or tags/releases/gcc-14.1.0, you can navigate to that ref and browse from there.

What is the relation to LLVM?

I don't understand that question. LLVM is a different compiler (infrastructure) with it's own runtime. It has nothing to do with GCC (claims at least).

What do "they" use for regression testing architecture specific routines;

See Installing GCC: TestingHow to test GCC on a simulatoravrAVRtestREADME: Running the avr-gcc Testsuite using the AVRtest Simulator

is there something I could easily use myself?

Yes it's easy enough to compile AVRtest, for example. Notice that AVRtest is just an AVR core simulator; no peripherals are simulated. When you prefer avr-gdb, see SimulAVR and AVaRICE.

Sign up to request clarification or add additional context in comments.

3 Comments

(I missed gcc/testsuite.) My mistake in missing official step stones to GCC source browsing was skipping to the 1st sub-heading on GCC RO Git access when I didn't want to install git. <!--(Coincidentally, I plan to go shopping for a new computer today - 14 y & M$ Windows 7 is getting a bit long in the teeth.)-->
There are more parts that belong to the AVR backend, but they are not located in separate files. For example configure bits in gcc/configure.ac and gcc/config.gcc.
Added "howto testing" to my answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.