Mercurial > projects > ldc
comparison runtime/internal/llvmdc/bitmanip.d @ 660:d6b71647b622
One more update of Tango Rebuild profile.
Made the inp/outp intrinsics throw exceptions instead of doing nothing silently.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 16:39:47 +0200 |
parents | 44f08170f4ef |
children | 6aaa3d3c1183 |
comparison
equal
deleted
inserted
replaced
659:43d2ab9833bf | 660:d6b71647b622 |
---|---|
70 } | 70 } |
71 | 71 |
72 pragma(intrinsic, "llvm.bswap.i32") | 72 pragma(intrinsic, "llvm.bswap.i32") |
73 uint bswap(uint val); | 73 uint bswap(uint val); |
74 | 74 |
75 ubyte inp(uint p) { return 0; } | 75 ubyte inp(uint p) { throw new Exception("inp intrinsic not yet implemented"); } |
76 ushort inpw(uint p) { return 0; } | 76 ushort inpw(uint p) { throw new Exception("inpw intrinsic not yet implemented"); } |
77 uint inpl(uint p) { return 0; } | 77 uint inpl(uint p) { throw new Exception("inpl intrinsic not yet implemented"); } |
78 | 78 |
79 ubyte outp(uint p, ubyte v) { return v; } | 79 ubyte outp(uint p, ubyte v) { throw new Exception("outp intrinsic not yet implemented"); } |
80 ushort outpw(uint p, ushort v) { return v; } | 80 ushort outpw(uint p, ushort v) { throw new Exception("outpw intrinsic not yet implemented"); } |
81 uint outpl(uint p, uint v) { return v; } | 81 uint outpl(uint p, uint v) { throw new Exception("outpl intrinsic not yet implemented"); } |