What is fcombine-regs? I found this in the linux kernel 0.01 makefile.
thx
fcombine-regs
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
fcombine-regs
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Ahem,
This is from an archive of GCC 1.36's manual. It's no longer used. At least that's what my GCC tells me in the form of:
Code: Select all
Allow the combine pass to combine an instruction that
copies one register into another. This might or might
not produce better code when used in addition to -O. I
am interested in hearing about the difference this
makes.
Code: Select all
cc1: error: unrecognized option `-fcombine-regs'
C8H10N4O2 | #446691 | Trust the nodes.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
For example:
gcc -fcombine-regs t.c -o t.o
i get it to say: unrecognized command line option "-fcombine-regs"
I don't know if this is the reason, but when I compile linux it has hundreds of errors.
gcc -fcombine-regs t.c -o t.o
i get it to say: unrecognized command line option "-fcombine-regs"
I don't know if this is the reason, but when I compile linux it has hundreds of errors.
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
No, I don't think the lack of -fcombine-regs should produce any errors, as it is just an optimization. (Yet, I could be wrong... ) However, the hundreds of errors might be coming from various changes that have occurred over 15 years in different tools....Maybe?
C8H10N4O2 | #446691 | Trust the nodes.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact: