[Bug target/78357] nios2 uses non-standard atomic functions

2018-11-03 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-16 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #11 from Sebastian Huber --- Thanks for your kind help. Would it be possible to back port this to GCC 6 also?

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-16 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #10 from Chung-Lin Tang --- Author: cltang Date: Thu Nov 17 06:26:56 2016 New Revision: 242534 URL: https://gcc.gnu.org/viewcvs?rev=242534&root=gcc&view=rev Log: 2016-11-17 Chung-Lin Tang PR target/78357 * config/

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #9 from Chung-Lin Tang --- (In reply to Sebastian Huber from comment #8) > (In reply to Chung-Lin Tang from comment #7) > > (In reply to Sebastian Huber from comment #6) > > > (In reply to Chung-Lin Tang from comment #5) > > > > > I c

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #8 from Sebastian Huber --- (In reply to Chung-Lin Tang from comment #7) > (In reply to Sebastian Huber from comment #6) > > (In reply to Chung-Lin Tang from comment #5) > > > > I checked the code generation on some targets for the te

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #7 from Chung-Lin Tang --- (In reply to Sebastian Huber from comment #6) > (In reply to Chung-Lin Tang from comment #5) > > > I checked the code generation on some targets for the test case above. The > > > arm, bfin, epiphany, i386,

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #6 from Sebastian Huber --- (In reply to Chung-Lin Tang from comment #5) > > I checked the code generation on some targets for the test case above. The > > arm, bfin, epiphany, i386, lm32, m68k, mips, moxie, sh, v850 targets > > gener

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #5 from Chung-Lin Tang --- > I checked the code generation on some targets for the test case above. The > arm, bfin, epiphany, i386, lm32, m68k, mips, moxie, sh, v850 targets > generated all __atomic_* functions. > Only on Nios II i

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #4 from Sebastian Huber --- (In reply to Chung-Lin Tang from comment #3) > (In reply to Sebastian Huber from comment #2) > > (In reply to Chung-Lin Tang from comment #1) > > > Sebastian, I'm not sure what your problem is. The atomics

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #3 from Chung-Lin Tang --- (In reply to Sebastian Huber from comment #2) > (In reply to Chung-Lin Tang from comment #1) > > Sebastian, I'm not sure what your problem is. The atomics in nios2 are > > implemented by __sync_* functions

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 --- Comment #2 from Sebastian Huber --- (In reply to Chung-Lin Tang from comment #1) > Sebastian, I'm not sure what your problem is. The atomics in nios2 are > implemented by __sync_* functions placed in libgcc. The built-in function > expansion

[Bug target/78357] nios2 uses non-standard atomic functions

2016-11-15 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78357 Chung-Lin Tang changed: What|Removed |Added CC||cltang at gcc dot gnu.org --- Comment #