This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: iwmmxt2 patch for binutils-2.16.92


There is a bug when integrating iwmmxt2. wldr[b/h] and wstr[b/h] will
be assembled into illegal instruction if the immediate number is #0.
This is because write_back bit is cleared in md_apply_fix(). I have
fixed it in my patch.

Test case:
 wldrb wr1, [r1], #0
 wldrh wr1, [r1], #0
 wstrb wr1, [r1], #0
 wstrh wr1, [r1], #0

Joseph, I did not find the fix to this issue in your patch. Could you
test it and merge it once confirmed?

--
best regards,
-Bridge


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]