Primitive bitwise operations on Int#
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |