Re: [PATCH] sparc,rtems: add __FIX_LEON3FT_TN0018 for affected targets

2021-01-19 Thread Daniel Hellstrom
On 2021-01-19 10:52, Eric Botcazou wrote: * config/sparch/rtemself.h (TARGET_OS_CPP_BUILTINS): Add built-in define __FIX_LEON3FT_TN0018. OK for whichever branch(es) you deem appropriate. GCC-10, GCC-11 and master. Thanks, Daniel

[PATCH] sparc,rtems: add __FIX_LEON3FT_TN0018 for affected targets

2021-01-19 Thread Daniel Hellstrom
Enable a define FIX_LEON3FT_TN0018 for the LEON3FT targets affected by the GRLIB-TN-0018 errata described here: https://www.gaisler.com/notes gcc/ * config/sparch/rtemself.h (TARGET_OS_CPP_BUILTINS): Add built-in define __FIX_LEON3FT_TN0018. --- gcc/config/sparc/rtemself.h | 2 ++ 1

Re: [wwwdocs] GCC-7.3 changes: Add note about LEON3FT erratum workaround

2018-04-09 Thread Daniel Hellstrom
On 2018-04-07 22:08, Gerald Pfeifer wrote: On Thu, 1 Feb 2018, Daniel Hellstrom wrote: I would like to commit the following comment about LEON3-FT errata now available in GCC-7.3. Thanks, I have now committed it. Apparently the ultimate URL is the one below (which I applied for now)? Gerald

Re: [wwwdocs] GCC-7.3 changes: Add note about LEON3FT erratum workaround

2018-02-01 Thread Daniel Hellstrom
On 2018-01-31 00:27, Eric Botcazou wrote: I would like to commit the following comment about LEON3-FT errata now available in GCC-7.3. Fine with me, thanks. Thanks, I have now committed it.

Re: [wwwdocs] GCC-7.3 changes: Add note about LEON3FT erratum workaround

2018-01-26 Thread Daniel Hellstrom
notes;> +    LEON3FT errata GRLIB-TN-0010..0013 have been added. Relevant errata +    are activated by the target specific -mfix-ut699, +    -mfix-ut700 and -mfix-gr712rc switches. +  +  Operating Systems  RTEMS On 2018-01-26 13:09, Daniel Hellstrom wrote: Hi, I would like t

[wwwdocs] GCC-7.3 changes: Add note about LEON3FT erratum workaround

2018-01-26 Thread Daniel Hellstrom
Hi, I would like to commit the following comment about LEON3-FT errata now available in GCC-7.3. Thanks, Daniel Index: htdocs/gcc-7/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Daniel Hellstrom
On 09/28/2015 03:49 PM, Sebastian Huber wrote: On 28/09/15 15:39, Daniel Hellstrom wrote: On 09/28/2015 03:37 PM, Sebastian Huber wrote: On 28/09/15 15:20, Daniel Hellstrom wrote: Which multilibs do we have after this change? .; soft;@msoft-float v8;@mcpu=v8 leon3;@mcpu=leon3 leon3v7

[PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Daniel Hellstrom
Now that muser-mode is default the multilib definitions does not require to specify that switch any more. Add UT699 to multilib after recent patches. Add AT697F multilib since there are many LEON2 users running RTEMS. To gcc/ChangeLog: gcc/ * config/sparc/t-rtems: Remove -muser-mode, add

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Daniel Hellstrom
On 09/28/2015 02:36 PM, Sebastian Huber wrote: On 28/09/15 14:33, Sebastian Huber wrote: On 28/09/15 14:13, Daniel Hellstrom wrote: Now that muser-mode is default the multilib definitions does not require to specify that switch any more. Add UT699 to multilib after recent patches. Add AT697F

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Daniel Hellstrom
On 09/28/2015 03:37 PM, Sebastian Huber wrote: On 28/09/15 15:20, Daniel Hellstrom wrote: Which multilibs do we have after this change? .; soft;@msoft-float v8;@mcpu=v8 leon3;@mcpu=leon3 leon3v7;@mcpu=leon3v7 leon;@mcpu=leon leon/ut699;@mcpu=leon@mfix-ut699 leon/at697f;@mcpu=leon@mfix

Re: [PATCH] RTEMS: select SPARC multilibs

2014-11-07 Thread Daniel Hellstrom
: On November 7, 2014 2:40:43 AM CST, Eric Botcazou ebotca...@adacore.com wrote: I think this would be good for 4.8, 4.9 and trunk. 2014-11-06 Daniel Hellstrom dan...@gaisler.com * config.gcc (sparc-*-rtems*): Clean away unused t-elf * config/sparc/t-rtems: Add leon3v7 and muser-mode

[PATCH] RTEMS: select SPARC multilibs

2014-11-06 Thread Daniel Hellstrom
- v8/ v7 soft-float - soft/ leon3 soft-float muser-mode - soft/leon3/user-mode/ leon3v7 soft-float muser-mode - soft/leon3v7/user-mode/ v8 soft-float - soft/v8/ I think this would be good for 4.8, 4.9 and trunk. 2014-11-06 Daniel Hellstrom dan...@gaisler.com

[committed] MAINTAINERS: add myself to write-after-approval list.

2014-10-24 Thread Daniel Hellstrom
2014-10-24 Daniel Hellstrom dan...@gaisler.com * MAINTAINERS (write-after-approval): Add myself. Index: MAINTAINERS === --- MAINTAINERS(revision 216624) +++ MAINTAINERS(working copy) @@ -408,6 +408,7 @@ Pat Haugen

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-10-07 Thread Daniel Hellstrom
17 00:00:00 2001 From: Daniel Hellstrom dan...@gaisler.com Date: Wed, 20 Aug 2014 10:53:22 +0100 Subject: [PATCH v3] SPARC: add mcpu=leon3v7 target The LEON3/4 soft-core CPU has support for both SPARCv7 and SPARCv8 that is configurable at design time. The majority of the LEON3 ASICs are v8

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-10-07 Thread Daniel Hellstrom
On 10/07/2014 09:26 AM, Eric Botcazou wrote: You're right. I have attached an updated patch. The new code becomes: #ifdef HAVE_AS_LEON #define AS_LEON_FLAG -Aleon +#define AS_LEONV7_FLAG -Aleon #else #define AS_LEON_FLAG -Av8 +#define AS_LEONV7_FLAG -Av7 #endif The patch is OK

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-10-07 Thread Daniel Hellstrom
On 10/07/2014 11:07 AM, Eric Botcazou wrote: Ok, I will update that. Is there a way of generating the comments automatically? Do you mean the ChangeLog? If so, contrib/mklog will generate a skeleton but you'll still need to write the decription sentences. Perfect, thanks!

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-10-06 Thread Daniel Hellstrom
:00 2001 From: Daniel Hellstrom dan...@gaisler.com Date: Wed, 20 Aug 2014 10:53:22 +0100 Subject: [PATCH v2] SPARC: add mcpu=leon3v7 target The LEON3/4 soft-core CPU has support for both SPARCv7 and SPARCv8 that is configurable at design time. The majority of the LEON3 ASICs are v8 compatible

[PATCH v2] SPARC: add mcpu=leon3v7 target

2014-10-03 Thread Daniel Hellstrom
The LEON3/4 soft-core CPU has support for both SPARCv7 and SPARCv8 that is configurable at design time. The majority of the LEON3 ASICs are v8 compatible, however when designing an as small LEON3 as possible, v7 without FPU is frequently used. The current GCC leon3 support implies the SPARCv8

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-10-03 Thread Daniel Hellstrom
Hi, On 10/02/2014 11:22 PM, Eric Botcazou wrote: [Sorry for the long delay] The LEON3/4 soft-core CPU has support for both SPARCv7 and SPARCv8 that is configurable at design time. The majority of the LEON3 ASICs are v8 compatible, however when designing an as small LEON3 as possible, v7

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-09-01 Thread Daniel Hellstrom
Hello, I have not received any comments on the patch yet. Eric, do you have any thoughts? Best Regards, Daniel Hellstrom Software Section Head Aeroflex Gaisler AB Aeroflex Microelectronic Solutions – HiRel Kungsgatan 12 SE-411 19 Gothenburg, Sweden Phone: +46 31 7758657 dan...@gaisler.com

[PATCH] SPARC: add mcpu=leon3v7 target

2014-08-20 Thread Daniel Hellstrom
The LEON3/4 soft-core CPU has support for both SPARCv7 and SPARCv8 that is configurable at design time. The majority of the LEON3 ASICs are v8 compatible, however when designing an as small LEON3 as possible, v7 without FPU is frequently used. The current GCC leon3 support implies the SPARCv8

Re: spar-rtems add leon3 multlib to 4.9

2014-08-20 Thread Daniel Hellstrom
. If switching to mcpu=leon3 in RTEMS BSP, then we no longer support the LEON3 V7 processors. Best Regards, Daniel Hellstrom Software Section Head Aeroflex Gaisler AB Aeroflex Microelectronic Solutions – HiRel Kungsgatan 12 SE-411 19 Gothenburg, Sweden Phone: +46 31 7758657 dan...@gaisler.com

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-08-20 Thread Daniel Hellstrom
V8 instructions to check that I haven't broken anything. The instructions generated in the both cases are good, and the RTEMS single-core test-suite runs on both GR712RC and NGFP hardware successfully (apart from the already known two failures of course). Regards, Daniel Hellstrom On 08/20/2014

Re: [PATCH] RTEMS: Add LEON3/SPARC multilibs

2013-08-30 Thread Daniel Hellstrom
Hello Sebastian, That seems like a good idea. Thanks, Daniel On 08/29/2013 01:04 PM, Sebastian Huber wrote: Recently support for LEON3 specific instructions were added to GCC. Make this support available for RTEMS. This patch should be committed to GCC 4.9. gcc/ChangeLog 2013-08-29