Mercurial > projects > ldc
changeset 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 | 43d2ab9833bf |
children | 99f32e967746 |
files | llvmdc-tango runtime/internal/llvmdc/bitmanip.d |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/llvmdc-tango Mon Oct 06 16:22:54 2008 +0200 +++ b/llvmdc-tango Mon Oct 06 16:39:47 2008 +0200 @@ -29,9 +29,11 @@ testversion=D_InlineAsm_PPC testversion=D_InlineAsm_X86_64 testversion=D_InlineAsm_PPC64 +testversion=LLVM_InlineAsm_X86 testversion=LittleEndian testversion=BigEndian testversion=LLVM64 +testversion=PIC [compile]
--- a/runtime/internal/llvmdc/bitmanip.d Mon Oct 06 16:22:54 2008 +0200 +++ b/runtime/internal/llvmdc/bitmanip.d Mon Oct 06 16:39:47 2008 +0200 @@ -72,10 +72,10 @@ pragma(intrinsic, "llvm.bswap.i32") uint bswap(uint val); -ubyte inp(uint p) { return 0; } -ushort inpw(uint p) { return 0; } -uint inpl(uint p) { return 0; } +ubyte inp(uint p) { throw new Exception("inp intrinsic not yet implemented"); } +ushort inpw(uint p) { throw new Exception("inpw intrinsic not yet implemented"); } +uint inpl(uint p) { throw new Exception("inpl intrinsic not yet implemented"); } -ubyte outp(uint p, ubyte v) { return v; } -ushort outpw(uint p, ushort v) { return v; } -uint outpl(uint p, uint v) { return v; } +ubyte outp(uint p, ubyte v) { throw new Exception("outp intrinsic not yet implemented"); } +ushort outpw(uint p, ushort v) { throw new Exception("outpw intrinsic not yet implemented"); } +uint outpl(uint p, uint v) { throw new Exception("outpl intrinsic not yet implemented"); }