OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [i386/] [intelbad.s] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

	.intel_syntax noprefix
	.text
start:
	add	eax, byte ptr [eax]
	add	eax, qword ptr [eax]
	add	[eax], 1
	add	qword ptr [eax], 1
	addpd	xmm0, dword ptr [eax]
	addpd	xmm0, qword ptr [eax]
	addpd	xmm0, tbyte ptr [eax]
	addps	xmm0, dword ptr [eax]
	addps	xmm0, qword ptr [eax]
	addps	xmm0, tbyte ptr [eax]
	addsd	xmm0, dword ptr [eax]
	addsd	xmm0, tbyte ptr [eax]
	addsd	xmm0, xmmword ptr [eax]
	addss	xmm0, qword ptr [eax]
	addss	xmm0, tbyte ptr [eax]
	addss	xmm0, xmmword ptr [eax]
	bound	eax, dword ptr [ebx]
	bound	ax, word ptr [ebx]
	call	byte ptr [eax]
	call	qword ptr [eax]
	call	tbyte ptr [eax]
	call	xword ptr [eax]
	cmps	[esi], es:[edi]
	cmps	dword ptr [esi], word ptr es:[edi]
	cmpxchg8b dword ptr [eax]
	fadd	[eax]
	fadd	word ptr [eax]
	fadd	tbyte ptr [eax]
	fbld	byte ptr [eax]
	fbld	word ptr [eax]
	fbstp	dword ptr [eax]
	fbstp	qword ptr [eax]
	fiadd	[eax]
	fiadd	byte ptr [eax]
	fild	[eax]
	fild	byte ptr [eax]
	fild	tbyte ptr [eax]
	fist	[eax]
	fist	byte ptr [eax]
	fist	qword ptr [eax]
	fistp	[eax]
	fistp	byte ptr [eax]
	fisttp	[eax]
	fisttp	byte ptr [eax]
	fld	[eax]
	fld	word ptr [eax]
	fldcw	dword ptr [eax]
	fst	[eax]
	fst	word ptr [eax]
	fst	tbyte ptr [eax]
	fstp	[eax]
	fstp	word ptr [eax]
	ins	es:[edi], dx
	lds	ax, word ptr [eax]
	lds	eax, dword ptr [eax]
	lods	[esi]
	movs	es:[edi], [esi]
	movs	dword ptr es:[edi], word ptr [esi]
	movsx	eax, [eax]
	movsx	eax, dword ptr [eax]
	outs	dx, [esi]
	paddb	mm0, dword ptr [eax]
	paddb	mm0, xmmword ptr [eax]
	paddb	xmm0, dword ptr [eax]
	paddb	xmm0, qword ptr [eax]
	pinsrw	mm0, byte ptr [eax], 3
	pinsrw	mm0, dword ptr [eax], 3
	pinsrw	mm0, qword ptr [eax], 3
	pinsrw	xmm0, dword ptr [eax], 7
	pinsrw	xmm0, qword ptr [eax], 7
	pinsrw	xmm0, xmmword ptr [eax], 7
	push	byte ptr [eax]
	push	qword ptr [eax]
	scas	es:[edi]
#XXX?	shl	eax
	stos	es:[edi]
	xlat	word ptr [ebx]
#XXX?	xlatb	[ebx]
 
	# expressions
#XXX?	push	~ 1
#XXX?	push	1 % 1
#XXX?	push	1 << 1
#XXX?	push	1 >> 1
#XXX?	push	1 & 1
#XXX?	push	1 ^ 1
#XXX?	push	1 | 1
	push	1 1
	push	1 +
	push	1 * * 1
 
	# memory references
	mov	eax, [ecx*3]
	mov	eax, [3*ecx]
	mov	eax, [-1*ecx + 1]
	mov	eax, [esp + esp]
	mov	eax, [eax - 1*ecx + 1]
	mov	eax, [(eax-1) * (eax-1)]
	mov	eax, [eax-1 xor eax-1]
	mov	eax, [(eax-1) xor (eax-1)]
	mov	eax, [not eax + 1]
	mov	eax, [ecx*2 + edx*4]
	mov	eax, [2*ecx + 4*edx]
	mov	eax, [eax]1[ecx]		# ugly diag
	mov	eax, [eax][ecx]1		# ugly diag
	mov	eax, eax[ecx]			# ugly diag
	mov	eax, es[ecx]
	mov	eax, cr0[ecx]
	mov	eax, [eax]ecx
	mov	eax, [eax]+ecx
	mov	eax, [eax]+ecx*2
	mov	eax, [eax]+2*ecx
	mov	eax, [[eax]ecx]
	mov	eax, eax:[ecx]
 
	mov	eax, [ss]
	mov	eax, [st]
	mov	eax, [mm0]
	mov	eax, [xmm0]
	mov	eax, [cr0]
	mov	eax, [dr7]
 
	mov	eax, [ss+edx]
	mov	eax, [st+edx]
	mov	eax, [mm0+edx]
	mov	eax, [xmm0+edx]
	mov	eax, [cr0+edx]
	mov	eax, [dr7+edx]
 
	mov	eax, [edx+ss]
	mov	eax, [edx+st]
	mov	eax, [edx+cr0]
	mov	eax, [edx+dr7]
	mov	eax, [edx+mm0]
	mov	eax, [edx+xmm0]
 
	lea	eax, [bx+si*1]
	lea	eax, [bp+si*2]
	lea	eax, [bx+di*4]
	lea	eax, [bp+di*8]
	lea	eax, [bx+1*si]
	lea	eax, [bp+2*si]
	lea	eax, [bx+4*di]
	lea	eax, [bp+8*di]
 
	mov	eax, [ah]
	mov	eax, [ax]
	mov	eax, [eax+bx]
	mov	eax, offset [1*eax]
	mov	eax, offset 1*eax
	mov	eax, offset x[eax]		# ugly diag
	mov	eax, offset [x][eax]		# ugly diag
	mov	eax, flat x
	mov	eax, flat [x]
	mov	eax, es:eax
 
	mov	eax, offset [eax]
	mov	eax, offset eax
	mov	eax, offset offset eax
	mov	eax, es:ss:[eax]
	mov	eax, es:[eax]+ss:[eax]
 
	mov	eax, 3:5
	call	3:[5]
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.