Mercurial > projects > ldc
comparison runtime/internal/ldc/bitmanip.d @ 869:5dbc63f83380
Backed out changeset 1fcba307fd28
Wasn't the right thing to do.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 27 Dec 2008 16:07:23 +0100 |
parents | 1fcba307fd28 |
children |
comparison
equal
deleted
inserted
replaced
868:1fcba307fd28 | 869:5dbc63f83380 |
---|---|
68 *q |= mask; | 68 *q |= mask; |
69 return result ? -1 : 0; | 69 return result ? -1 : 0; |
70 } | 70 } |
71 | 71 |
72 pragma(intrinsic, "llvm.bswap.i32") | 72 pragma(intrinsic, "llvm.bswap.i32") |
73 uint bswap_impl(uint val); | 73 uint bswap(uint val); |
74 | |
75 uint bswap(uint val) | |
76 { | |
77 return bswap_impl(val); | |
78 } | |
79 | |
80 | 74 |
81 ubyte inp(uint p) { throw new Exception("inp intrinsic not yet implemented"); } | 75 ubyte inp(uint p) { throw new Exception("inp intrinsic not yet implemented"); } |
82 ushort inpw(uint p) { throw new Exception("inpw intrinsic not yet implemented"); } | 76 ushort inpw(uint p) { throw new Exception("inpw intrinsic not yet implemented"); } |
83 uint inpl(uint p) { throw new Exception("inpl intrinsic not yet implemented"); } | 77 uint inpl(uint p) { throw new Exception("inpl intrinsic not yet implemented"); } |
84 | 78 |