2
# synth_1to1 works the same way as the c version of this
3
# file. only two types of changes have been made:
4
# - reordered floating point instructions to
5
# prevent pipline stalls
6
# - made WRITE_SAMPLE use integer instead of
7
# (slower) floating point
8
# all kinds of x86 processors should benefit from these
11
# useful sources of information on optimizing x86 code include:
13
# Intel Architecture Optimization Manual
14
# http:#/www.intel.com/design/pentium/manuals/242816.htm
16
# Cyrix 6x86 Instruction Set Summary
17
# ftp:#/ftp.cyrix.com/6x86/6x-dbch6.pdf
19
# AMD-K5 Processor Software Development
20
# http:#/www.amd.com/products/cpg/techdocs/appnotes/20007e.pdf
22
# Stefan Bieschewski <stb@acm.org>
24
# You can use this part under GPL.
26
# $Id: decode_i586.s,v 1.2 2001/04/03 20:23:51 garbanzo Exp $
43
.globl synth_1to1_pent
71
leal (%ebx,%edx,4),%eax
76
leal 1088(,%eax,4),%eax
84
leal 1092(%ecx,%ebp,4),%eax
86
leal (%ecx,%ebp,4),%eax
170
1: movw $32767,(%esi)
172
2: movw $-32768,(%esi)
220
1: movw $32767,(%esi)
222
2: movw $-32768,(%esi)
229
leal -128(%ecx,%edx,8),%ecx
305
1: movw $32767,(%esi)
307
2: movw $-32768,(%esi)