[Bug gas/19561] New: wrong code generated for rrux instruction for msp430 target

2016-02-03 Thread david.schultz at earthlink dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=19561

Bug ID: 19561
   Summary: wrong code generated for rrux instruction for msp430
target
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: david.schultz at earthlink dot net
  Target Milestone: ---

Using rpt with the rrux.w instruction generated an error stating that this
instruction could not be used with a repeat. The problem is that the assembler
is generating the rrum instruction from the extended instruction set rather
than the expected rrc instruction with an extension word that has the zero
carry bit set.

The only way to work around this is by using .word directives since there is no
way to set the zero carry bit.

-- 
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 binutils/19562] New: msp430 rrux instruction not displayed correctly by objdump

2016-02-03 Thread david.schultz at earthlink dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=19562

Bug ID: 19562
   Summary: msp430 rrux instruction not displayed correctly by
objdump
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: david.schultz at earthlink dot net
  Target Milestone: ---

The rrux instruction is incorrectly displayed by msp430-elf-objdump as rrcx. 

Example:

52aa:   cf 19 06 10 rpt r15 { rrcx.wr6  ;

The zero carry bit is set here and that changes a rrcx instruction into the
rrux instruction.

-- 
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