- Add x86_64 support to vm_x86.c
- Fix warning on mingw64
This commit is contained in:
parent
3e229af710
commit
c174143dc2
10 changed files with 349 additions and 94 deletions
|
@ -29,8 +29,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#include "qasm.h"
|
||||
|
||||
#if id386
|
||||
|
||||
.data
|
||||
|
||||
temp: .single 0.0
|
||||
|
@ -157,4 +155,3 @@ C(Q_ftol0F7F):
|
|||
fldcw fpucw
|
||||
movl temp,%eax
|
||||
ret
|
||||
#endif
|
||||
|
|
|
@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
#if defined(__ELF__) || defined(__WIN64__)
|
||||
#define C(label) label
|
||||
#else
|
||||
#define C(label) _##label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue