[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-20 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #18 from Nick Clifton  ---
(In reply to Alexander Fedotov from comment #16)
> Nick, could we have this fix in 2.34.1 as well ?

Done.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-20 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #17 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_34-branch branch has been updated by Nick Clifton
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef2826c0fdbbd9016630f0738e3e2dd5eb14012a

commit ef2826c0fdbbd9016630f0738e3e2dd5eb14012a
Author: Alexander Fedotov 
Date:   Wed May 20 11:46:54 2020 +0100

Fix the ARM assembler to generate a Realtime profile for armv8-r.

PR 25992
gas * config/tc-arm.c : Add arm_ext_v8r feature.
(it_fsm_post_encode): Check arm_ext_v8r feature.
(get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.

include * opcode/arm.h (ARM_EXT2_V8R): Define. Modified ARM_AEXT2_V8R.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #16 from Alexander Fedotov  ---
Nick, could we have this fix in 2.34.1 as well ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #15 from Alexander Fedotov  ---
Difference in Tag_CPU_arch confuses as well

armv7-r vs armv8-r
Tag_CPU_arch: v7  vs  Tag_CPU_arch: v8-R

but I have no clue how critical is it. From the user perspective it looks
weird.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread avieira at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #14 from Andre Vieira  ---
Oh doh... I was looking at the Tag_CPU_arch instead of arch_profile. Sorry
Alexander.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #13 from Alexander Fedotov  ---
Andre you can find attr-march-armv8-r*.d files in GAS testsuite which already
had the wrong attribute in them i.e. Tag_CPU_arch_profile: Application

In any way I have ran into this issue on windows host and then reproduce on
linux using git master branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #12 from Nick Clifton  ---
(In reply to Andre Vieira from comment #11)
> Nick were you able to reproduce this locally?  

Actually I did not check. :-(  I looked at the patch itself, which
seemed to make sense to me, so I assumed that it would be OK to apply.

Is there a reason to think that the patch itself might be wrong ?
There were no new testsuite failures with its introduction, at least
not for the toolchains I was testing.  So I am kind of inclined to
leave it in.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread avieira at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #11 from Andre Vieira  ---
Nick were you able to reproduce this locally? I have tried a bunch of different
arm targets and branches but could not reproduce this behaviour, which is
weird... Might be there is some other issue masking this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Nick Clifton  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 CC||nickc at redhat dot com
 Status|UNCONFIRMED |RESOLVED

--- Comment #10 from Nick Clifton  ---
Hi Alexander,

  Thanks for the patch - I have now applied it to the sources.

  If this does break the gcc ARM multilibs, then this will have 
  to be something that gcc fixes.  Or maybe a follow up patch
  will be needed for the assembler.  We will see.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #9 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=164446e04c89c7f5d8fd3efd7874a1af01035d72

commit 164446e04c89c7f5d8fd3efd7874a1af01035d72
Author: Alexander Fedotov 
Date:   Tue May 19 12:45:42 2020 +0100

Fix the ARM assembler to generate a Realtime profile for armv8-r.

PR 25992
gas * config/tc-arm.c : Add arm_ext_v8r feature.
(it_fsm_post_encode): Check arm_ext_v8r feature.
(get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.

include * opcode/arm.h (ARM_EXT2_V8R): Define. Modified ARM_AEXT2_V8R.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-18 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #8 from Alexander Fedotov  ---
I believe this will break GCC multilib since armv8-r+neon are mapped to armv8-a
libraries

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-18 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Alexander Fedotov  changed:

   What|Removed |Added

  Attachment #12536|0   |1
is obsolete||
  Attachment #12537|0   |1
is obsolete||
  Attachment #12546|0   |1
is obsolete||
  Attachment #12547|0   |1
is obsolete||

--- Comment #7 from Alexander Fedotov  ---
Created attachment 12558
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12558=edit
patch for git master branch

This patch fixes incorrect profile tag for armv8-r and updates testsuite files
as well

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-16 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #6 from Alexander Fedotov  ---
I see bunch of failures with testsuite. Need to fix them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-15 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Alexander Fedotov  changed:

   What|Removed |Added

 CC||alfedotov at gmail dot com

--- Comment #5 from Alexander Fedotov  ---
Created attachment 12547
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12547=edit
patch for git master barnch

Hi Andre,

please review this patch for the master branch. It seems working well now on my
side. But I'm not sure about defines that describing features in armv8-r.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-15 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #4 from Alexander Fedotov  ---
Hi Andre

I've tried with latest 2.34 and git master branch - result is the same.

the problem as I can see this is that armv8-r is inherited from the arm8-a. I
tried to fix it - see attached patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-15 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #3 from Alexander Fedotov  ---
Created attachment 12546
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12546=edit
patch for 2.34

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-15 Thread avieira at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Andre Vieira  changed:

   What|Removed |Added

 CC||avieira at gcc dot gnu.org

--- Comment #2 from Andre Vieira  ---
Hi Alexander,

I can't seem to reproduce this with trunk. What version is this based on and
how are you configuring binutils?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-14 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Alexander Fedotov  changed:

   What|Removed |Added

 Target||arm-none-eabi

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-14 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

--- Comment #1 from Alexander Fedotov  ---
Created attachment 12537
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12537=edit
armv8-r_fpsp

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25992] Wrong Tag_CPU_arch_profile for armv8-r

2020-05-14 Thread alfedotov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25992

Alexander Fedotov  changed:

   What|Removed |Added

  Attachment #12536|asm file|armv8-r_neon.asm
description||

-- 
You are receiving this mail because:
You are on the CC list for the bug.