Ticket #7689 (closed feature request: fixed)
Primitive bitwise operations on Int#
| Reported by: | jstolarek | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | Compiler | Version: | 7.7 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
During recent work I found a need for primitive bitwise operations that work on Int# type. Currently existing and#, or#, not# and xor# PrimOps work on Word#, which requires writing explicit conversions using int2Word# and word2Int#. It would be most helpful to have equivalent andI#, orI#, notI# and xorI# PrimOps.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

