comparison dmd/idgen.c @ 445:cc40db549aea

Changed the handling of variadic intrinsics a bit. Removed the -fp80 option and made real be 80bit floats on X86, this is what the D spec really says it should be and fixes a bunch of issues. Changed the handling of parameter attributes to a bit more generalized approach. Added sext/zext attributes for byte/short/ubyte/ushort parameters, fixes #60 . Parameter attribs now properly set for intrinsic calls if necessary. Made the tango.math.Math patch less intrusive. Fixed/added some mini tests.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Fri, 01 Aug 2008 17:59:58 +0200
parents 44f08170f4ef
children a34078905d01
comparison
equal deleted inserted replaced
444:f2b5f86348ef 445:cc40db549aea
216 // LLVMDC pragma's 216 // LLVMDC pragma's
217 { "intrinsic" }, 217 { "intrinsic" },
218 { "va_intrinsic" }, 218 { "va_intrinsic" },
219 { "no_typeinfo" }, 219 { "no_typeinfo" },
220 { "no_moduleinfo" }, 220 { "no_moduleinfo" },
221 { "alloca" }, 221 { "Alloca", "alloca" },
222 { "va_start" }, 222 { "vastart", "va_start" },
223 { "va_arg" }, 223 { "vacopy", "va_copy" },
224 { "vaend", "va_end" },
225 { "vaarg", "va_arg" },
224 226
225 // For toHash/toString 227 // For toHash/toString
226 { "tohash", "toHash" }, 228 { "tohash", "toHash" },
227 { "tostring", "toString" }, 229 { "tostring", "toString" },
228 230