[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bits.h

Reid Spencer reid at x10sys.com
Mon May 14 12:11:26 PDT 2007

Changes in directory llvm-test/SingleSource/UnitTests/Integer:

bits.h updated: 1.6 -> 1.7
Log message:

Add needed integer bit widths.
Make signed things actually signed .. duh.

Diffs of the changes:  (+6 -4)

 bits.h |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

Index: llvm-test/SingleSource/UnitTests/Integer/bits.h
diff -u llvm-test/SingleSource/UnitTests/Integer/bits.h:1.6 llvm-test/SingleSource/UnitTests/Integer/bits.h:1.7
--- llvm-test/SingleSource/UnitTests/Integer/bits.h:1.6	Sat May 12 13:44:37 2007
+++ llvm-test/SingleSource/UnitTests/Integer/bits.h	Mon May 14 14:11:08 2007
@@ -41,6 +41,8 @@
 typedef unsigned int __attribute__((bitwidth(68))) uint68;
 typedef unsigned int __attribute__((bitwidth(69))) uint69;
 typedef unsigned int __attribute__((bitwidth(128))) uint128;
+typedef unsigned int __attribute__((bitwidth(250))) uint250;
+typedef unsigned int __attribute__((bitwidth(256))) uint256;
 typedef int __attribute__((bitwidth(9)))  int9;
 typedef int __attribute__((bitwidth(10))) int10;
@@ -49,13 +51,13 @@
 typedef int __attribute__((bitwidth(32))) int32;
 typedef int __attribute__((bitwidth(33))) int33;
 typedef int __attribute__((bitwidth(54))) int54;
+typedef int __attribute__((bitwidth(63))) int63;
 typedef int __attribute__((bitwidth(68))) int68;
 typedef int __attribute__((bitwidth(69))) int69;
 typedef int __attribute__((bitwidth(169))) int169;
-typedef unsigned int __attribute__((bitwidth(250))) int250;
-typedef unsigned int __attribute__((bitwidth(256))) int256;
-typedef unsigned int __attribute__((bitwidth(256))) int500;
+typedef int __attribute__((bitwidth(250))) int250;
+typedef int __attribute__((bitwidth(256))) int256;
+typedef int __attribute__((bitwidth(256))) int500;
 #define bitwidthof(TORV) (__bitwidthof__(typeof(TORV)))

More information about the llvm-commits mailing list