[Bug gas/21175] New: [Aarch64] No error generated for moves between FP and General regs of different sizes

2017-02-16 Thread ashwinyes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21175

Bug ID: 21175
   Summary: [Aarch64] No error generated for moves between FP and
General regs of different sizes
   Product: binutils
   Version: 2.26
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: ashwinyes at gmail dot com
  Target Milestone: ---

No error is generated for instructions like below which moves values between
differently sized floating point and general registers.

fmov d0, w0
fmov s0, x0
fmov x0, s0
fmov w0, d0

These instructions are illegal and general "Illegal Instruction" error at
runtime.

GNU assembler (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `aarch64-linux-gnu'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/21175] [Aarch64] No error generated for moves between FP and General regs of different sizes

2017-02-16 Thread ashwinyes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21175

Ashwin Sekhar T K  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Ashwin Sekhar T K  ---
Found another bug with the same issue.

https://sourceware.org/bugzilla/show_bug.cgi?id=20319.

Marking as duplicate.

*** This bug has been marked as a duplicate of bug 20319 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/20319] as and objdump allow "fmov sn, xm"

2017-02-16 Thread ashwinyes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20319

Ashwin Sekhar T K  changed:

   What|Removed |Added

 CC||ashwinyes at gmail dot com

--- Comment #2 from Ashwin Sekhar T K  ---
*** Bug 21175 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/21176] New: [Aarch64]

2017-02-16 Thread ashwinyes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21176

Bug ID: 21176
   Summary: [Aarch64]
   Product: binutils
   Version: 2.26
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: ashwinyes at gmail dot com
  Target Milestone: ---

Following syntax is wrong as per Aarch64 specification for vector by element
operations, but is accepted without any warnings/errors. 

fmulv16.4s, v0.4s, v8.4s[0]
fmlav20.4s, v0.4s, v8.2s[1]
fmlav0.2d, v1.2d, v2.2d[0]

Correct syntax should be.

fmulv16.4s, v0.4s, v8.s[0]
fmlav20.4s, v0.4s, v8.s[1]
fmlav0.2d, v1.2d, v2.d[0]


References:
https://github.com/xianyi/OpenBLAS/commit/278511ad2d1727a7ed74c38e3664b5e51b04adc6
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802b/FMLA_advsimd_elt_vector.html

Thanks,
Ashwin

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/21176] [Aarch64] Wrong syntax accepted for SIMD vector by element operations

2017-02-16 Thread ashwinyes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21176

Ashwin Sekhar T K  changed:

   What|Removed |Added

Summary|[Aarch64]   |[Aarch64] Wrong syntax
   ||accepted for SIMD vector by
   ||element operations

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils