This code should now build the x86_x64-softmmu part 2.

This commit is contained in:
xorstream
2017-01-19 22:50:28 +11:00
parent 37f9a248ea
commit 1aeaf5c40d
174 changed files with 2418 additions and 1414 deletions

View File

@@ -24,7 +24,7 @@
*/
#include <stdlib.h>
#include <stdint.h>
#include "platform.h"
#include "qemu/host-utils.h"
#ifndef CONFIG_INT128
@@ -54,10 +54,10 @@ static inline void mul64(uint64_t *plow, uint64_t *phigh,
rh.ll = (uint64_t)a0.l.high * b0.l.high;
c = (uint64_t)rl.l.high + rm.l.low + rn.l.low;
rl.l.high = c;
rl.l.high = (uint32_t)c;
c >>= 32;
c = c + rm.l.high + rn.l.high + rh.l.low;
rh.l.low = c;
rh.l.low = (uint32_t)c;
rh.l.high += (uint32_t)(c >> 32);
*plow = rl.ll;