1/* i386.c -- Assemble code for the Intel 80386 2 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 2000, 2001 4 Free Software Foundation, Inc. 5 6 This file is part of GAS, the GNU Assembler. 7 8 GAS is free software; you can redistribute it and/or modify --- 7 unchanged lines hidden (view full) --- 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with GAS; see the file COPYING. If not, write to the Free 20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 21 02111-1307, USA. */ 22 23 |
24/* $FreeBSD: head/contrib/binutils/gas/config/tc-i386.c 85824 2001-11-01 10:07:26Z obrien $ */ |
25 26 27/* Intel 80386 machine specific gas. 28 Written by Eliot Dresselhaus (eliot@mgm.mit.edu). 29 x86_64 support by Jan Hubicka (jh@suse.cz) 30 Bugs & suggestions are completely welcome. This is free software. 31 Please help us make it better. */ 32 --- 1869 unchanged lines hidden (view full) --- 1902 as_bad (_("`%s' operand %d must use `%%es' segment"), 1903 i.tm.name, 1904 mem_op + 2); 1905 return; 1906 } 1907 } 1908 } 1909 |
1910 /* If matched instruction specifies an explicit instruction mnemonic 1911 suffix, use it. */ 1912 if (i.tm.opcode_modifier & (Size16 | Size32 | Size64)) 1913 { 1914 if (i.tm.opcode_modifier & Size16) 1915 i.suffix = WORD_MNEM_SUFFIX; 1916 else if (i.tm.opcode_modifier & Size64) 1917 i.suffix = QWORD_MNEM_SUFFIX; --- 2549 unchanged lines hidden (view full) --- 4467 return r; 4468 } 4469 } 4470 /* We have "%st(" then garbage. */ 4471 return (const reg_entry *) NULL; 4472 } 4473 } 4474 |
4475 if (r != NULL 4476 && r->reg_flags & (RegRex64|RegRex) 4477 && flag_code != CODE_64BIT) 4478 { 4479 return (const reg_entry *) NULL; 4480 } 4481 |
4482 return r; 4483} 4484 4485#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) 4486const char *md_shortopts = "kVQ:sq"; 4487#else 4488const char *md_shortopts = "q"; 4489#endif --- 1350 unchanged lines hidden --- |