aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/gdb_obstack.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-04-01 10:03:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-04-10 20:24:41 -0700
commitbf649e72d3d5bc0784080438f550095d71769904 (patch)
tree828e90c9fd35bb83611bd91adb39e760f3af85be /gdbsupport/gdb_obstack.h
parent533da9536e6e4d65f0623ede93365f7229779f54 (diff)
downloadbinutils-bf649e72d3d5bc0784080438f550095d71769904.zip
binutils-bf649e72d3d5bc0784080438f550095d71769904.tar.gz
binutils-bf649e72d3d5bc0784080438f550095d71769904.tar.bz2
x86-64: Use long NOPs for Intel Core processors
Use long NOPs for Intel Core processors since they are faster than multiple NOPs. Don't use them for 64-bit processors by default since Intel Atom processors can only decode 4 prefixes in 1 cycle. * config/tc-i386.c (alt64_9): New. (alt64_10): Likewise. (alt64_11): Likewise. (alt64_12): Likewise. (alt64_13): Likewise. (alt64_14): Likewise. (alt64_15): Likewise. (alt64_patt): Likewise. (i386_generate_nops): Use alt64_patt for Intel Core processors in 64-bit mode. * testsuite/gas/i386/x86-64-nops-1-core2.d: Expect long NOPs. * testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise. * testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Replace ../x86-64-nops-1.d with ../x86-64-nops-1-core2.d. * testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Replace ../x86-64-nops-4.d with ../x86-64-nops-4-core2.d.
Diffstat (limited to 'gdbsupport/gdb_obstack.h')
0 files changed, 0 insertions, 0 deletions