What does money buy in C compilers?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In this post in the AVR-GCC subforum, Levenkay reported of an experiment where avr-gcc performed sub-optimally in a certain situation. millwood asserted, that paid compilers perform better.

While it is impossible to verify this assertion absolutely, we can at least be entertained by the outcome of this particular example.

So, those who have the various paid C compilers, could you please compile the snippet Levenkay posted (the first, unmodified one), and post the resulting asm here?

Thanks,

Jan Waclawek

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not what you requested, but a related comment. I use ImageCraft rather than AVR-GCC because my eyes glaze over with all the updates, tweaking, and loose ends. I'm thankful it exists and is available and I admire those who work on and maintain it, but for the price (the cheapest, in my case) I'll take the all-in-one, non-optimizing, quick and easy dumbass package.

(I do use AVR-GCC for my Arduino stuff, of course)

So, I guess to answer the question, in my case money buys simplicity. And, in the case of ICC, outstanding customer support from Richard Mann, although I didn't know that when I bought it.

Chuck Baird

"I wish I were dumber so I could be more certain about my opinions. It looks fun." -- Scott Adams

http://www.cbaird.org

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh dear God, not another compiler war?? Jan I thought you knew better than this?

Just because millstone is an arrogant, childish troll it doesn't mean we should rise to his bait.

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Compiler war? Oh, and why not ;-)

No I don't believe anybody would see this as a compiler war. I am simply curious how would this (bitmask-to-bitfield-bits handling) be coped with by different compilers. I believe I was clear enough in the other thread what I think about individual optimisations.

Meantime, I see that David answered my question in the other thread (thanks, David).

JW

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Meantime,

Jan,

Then would you mind awfully if I lock this before it becomes the inevitable mud-slinging fan-fest ?

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Quote:
Meantime,

Jan,

Then would you mind awfully if I lock this before it becomes the inevitable mud-slinging fan-fest ?

Cliff


Of course not. We can continue there.

JW

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Oh dear God, not another compiler war?? Jan I thought you knew better than this?

Just because millstone is an arrogant, childish troll it doesn't mean we should rise to his bait.

Cliff


Give the guy a break, it can't be easy having blue hair AND glasses.

Four legs good, two legs bad, three legs stable.

Topic locked