Refactor test suit endianness pre-processor code. More style and readability fixes, start labling endif's

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78234 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 2557244..8f07ba2 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -25,7 +25,7 @@
 
 #if !defined(INFINITY) && defined(HUGE_VAL)
 #define INFINITY HUGE_VAL
-#endif
+#endif /* INFINITY */
 
 typedef      int si_int;
 typedef unsigned su_int;
@@ -44,7 +44,7 @@
 #else
         si_int high;
         su_int low;
-#endif
+#endif /* _YUGA_LITTLE_ENDIAN */
     };
 } dwords;
 
@@ -59,7 +59,7 @@
 #else
         su_int high;
         su_int low;
-#endif
+#endif /* _YUGA_LITTLE_ENDIAN */
     };
 } udwords;
 
@@ -79,7 +79,7 @@
 #else
         di_int high;
         du_int low;
-#endif
+#endif /* _YUGA_LITTLE_ENDIAN */
     };
 } twords;
 
@@ -94,11 +94,11 @@
 #else
         du_int high;
         du_int low;
-#endif
+#endif /* _YUGA_LITTLE_ENDIAN */
     };
 } utwords;
 
-#endif
+#endif /* __x86_64 */
 
 typedef union
 {
@@ -120,7 +120,7 @@
 #else
     udwords high;
     udwords low;
-#endif
+#endif /* _YUGA_LITTLE_ENDIAN */
 } uqwords;
 
 typedef union
@@ -129,4 +129,4 @@
     long double f;
 } long_double_bits;
 
-#endif
+#endif /* INT_LIB_H */