[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GAS/i386/Linux: refuses 64-bit MMX memory ops in Intel syntax
From: |
Haakon Riiser |
Subject: |
GAS/i386/Linux: refuses 64-bit MMX memory ops in Intel syntax |
Date: |
Fri, 12 Jul 2002 01:04:44 +0200 |
User-agent: |
Mutt/1.4i |
Take the following simple example (based on output from GCC 3.1):
# intel.s ####################################################################
.intel_syntax
.text
.align 2
.globl main
.type main,@function
main:
movq QWORD PTR [%esp], %mm0
xor %eax, %eax
ret
##############################################################################
Running it through the GNU assembler:
$ as intel.s
intel.s: Assembler messages:
intel.s:7: Error: 64bit operations available only in 64bit modes.
$ as --64 intel.s
Assembler messages:
Fatal error: No compiled in support for x86_64
The same instructions work fine in AT&T syntax.
Version info follows:
$ uname -a
Linux s 2.4.18 #2 Thu Jun 6 00:23:32 CEST 2002 i686 unknown
$ as --version
GNU assembler 2.12.90.0.9 20020526
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-slackware-linux'.
Also verified with
GNU assembler 2.11.90.0.8
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-redhat-linux'.
--
Haakon
- GAS/i386/Linux: refuses 64-bit MMX memory ops in Intel syntax,
Haakon Riiser <=