summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2020-04-04 22:41:33 +0200
committerjonsykkel <jonrevold@gmail.com>2020-04-04 22:41:33 +0200
commitc97ac652eb4e270d15370cd53fdd2fab269cea20 (patch)
tree86073a17e4659170cdfd5f01a1ddb9df5b3a9faf
parent70957d2b24c362f42a1dba5855f645124b923d62 (diff)
downloadct_sequence-c97ac652eb4e270d15370cd53fdd2fab269cea20.tar.gz
oke
-rw-r--r--makefile2
-rw-r--r--src/main.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/makefile b/makefile
index ad41c66..6616a61 100644
--- a/makefile
+++ b/makefile
@@ -56,7 +56,7 @@ ifneq ($(run),)
run_cmd := @echo "run $(bin)"
run_cmd += && cd bin
run_cmd += && echo "----------------------------------------------------------------"
- run_cmd += && time ./$(out_file) 100000000
+ run_cmd += && time ./$(out_file) 5000000000
run_cmd += ; echo "----------------------------------------------------------------"
run_cmd += && cd ..
endif
diff --git a/src/main.c b/src/main.c
index d826972..802e1ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,14 +37,14 @@ static uint64_t load_store(uint64_t t,uint64_t in){
uint64_t r;
r = h_lo[t];
- if(r & 0x8000000000000000){
- r &= 0x7FFFFFFFFFFFFFFF;
+ if(r & 0x0000000080000000){
+ r &= 0x000000007FFFFFFF;
r |= (uint64_t)h_hi[t]<<31;
}
h_lo[t] = in;
if(in > I32_MAX){
- h_lo[t] |= 0x8000000000000000;
+ h_lo[t] |= 0x80000000;
h_hi[t] = in>>31;
}