Reindent (->tabs)

This commit is contained in:
Henrik Rydgård committed 2012-10-30 13:20:55 +01:00
1 parent edb0e8e8b2
commit 5a5f599e1b
52 files changed
+2584 -2586

No files matched your search

+14 -14
View File
@@ -3,7 +3,7 @@
#include <stdlib.h>
/*
static unsigned int randSeed = 22222; // Change this for different random sequences.
static unsigned int randSeed = 22222; // Change this for different random sequences.
void SetSeed(unsigned int seed) {
randSeed = seed * 382792592;
@@ -21,22 +21,22 @@ unsigned int GenerateRandomNumber() {
void EnableFZ()
{
int x;
asm(
"fmrx %[result],FPSCR \r\n"
"orr %[result],%[result],#16777216 \r\n"
"fmxr FPSCR,%[result]"
:[result] "=r" (x) : :
);
//printf("ARM FPSCR: %08x\n",x);
int x;
asm(
"fmrx %[result],FPSCR \r\n"
"orr %[result],%[result],#16777216 \r\n"
"fmxr FPSCR,%[result]"
:[result] "=r" (x) : :
);
//printf("ARM FPSCR: %08x\n",x);
}
void DisableFZ( )
{
__asm__ volatile(
"fmrx r0, fpscr\n"
"bic r0, $(1 << 24)\n"
"fmxr fpscr, r0" : : : "r0");
__asm__ volatile(
"fmrx r0, fpscr\n"
"bic r0, $(1 << 24)\n"
"fmxr fpscr, r0" : : : "r0");
}
#else
@@ -50,4 +50,4 @@ void DisableFZ()
}
#endif
#endif