#218 Strength Reduction in XOR of STM8

None
closed-rejected
None
5
2014-02-20
2014-02-17
Ben Shi
No

reduce (^0xffff) to cplw

1 Attachments

Discussion

  • Ben Shi
    Ben Shi
    2014-02-17

    Sorry, there is a mistake in previous submit.

    Here is the right patch.

     
  • Ben Shi
    Ben Shi
    2014-02-17

    This patch is OK with int and char, but generate wrong code with long. I would fix it later.

     
  • Ben Shi
    Ben Shi
    2014-02-20

    Can anybody deny this patch ticket? I will resubmit it after finding a good solution for all types.

     
    • status: open --> closed-rejected
    • assigned_to: Philipp Klaus Krause
    • Group: -->