[PATCH] XCore target: add support to build MultiSource/Benchmarks/MiBench/security-sha
robert lytton
robert at xmos.com
Thu Feb 27 05:12:51 PST 2014
use __ORDER_LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN__
Hi ddunbar,
http://llvm-reviews.chandlerc.com/D2783
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2783?vs=7082&id=7395#toc
Files:
MultiSource/Benchmarks/MiBench/security-sha/sha.c
Index: MultiSource/Benchmarks/MiBench/security-sha/sha.c
===================================================================
--- MultiSource/Benchmarks/MiBench/security-sha/sha.c
+++ MultiSource/Benchmarks/MiBench/security-sha/sha.c
@@ -11,6 +11,10 @@
#include <string.h>
#include "sha.h"
+#if !defined(LITTLE_ENDIAN) && defined(__ORDER_LITTLE_ENDIAN__)
+#define LITTLE_ENDIAN
+#endif
+
/* SHA f()-functions */
#define f1(x,y,z) ((x & y) | (~x & z))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2783.2.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140227/290cb245/attachment.bin>
More information about the llvm-commits
mailing list