vset_lane_u8 inrinsic generates wrong lane number

Bug #784375 reported by Michael Hope
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Medium
Ramana Radhakrishnan

Bug Description

See:
 http://lists.linaro.org/pipermail/linaro-toolchain/2011-April/001147.html

The vset_lane_u8() intrinsic generates the wrong lane number in the final assembly.

Tags: bad-code
Revision history for this message
Michael Hope (michaelh1) wrote :
affects: gdb-linaro → gcc-linaro
Changed in gcc-linaro:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 4.5-2011.05-0
Revision history for this message
Michael Hope (michaelh1) wrote :

Confirmed in gcc-linaro-4.5-2011.04-0:

michaelh@ursa1:~/linaro/bugs$ /tools/toolchains/arch/armv7l/gcc-linaro-4.5-2011.04-0-armv7l-maverick-cbuild112-ursa3-cortexa8r1/bin/gcc -O2 -mfpu=neon -S vset_lane.c

michaelh@ursa1:~/linaro/bugs$ cat vset_lane.s |grep vmov\.8
 vmov.8 d19[1], r0
 vmov.8 d20[1], r0
 vmov.8 d19[1], r0
 vmov.8 d20[0], r0

Where the lane numbers should be 3, 2, 1, 0.

Changed in gcc-linaro:
status: Triaged → Fix Committed
assignee: nobody → Ramana Radhakrishnan (ramana)
Michael Hope (michaelh1)
Changed in gcc-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.