Menu

[r976]: / MICmacros.s  Maximize  Restore  History

Download this file

73 lines (54 with data), 833 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.ifndef ilcgmacros
.intel_syntax noprefix
.set ilcgmacros,yes
.section .data
regutil0: .double 0.0
.section .text
/*'andifgoto ' c','r1',' r2','c2','r3',' r4 ',' l','t','t2 */
.macro andifgoto c r1 r2 c2 r3 r4 l t t2
cmp \r1,\r2
j\c 1f
jmp 2f
1: cmp \r3,\r4
j\c2 3f
jmp 2f
3:
jmp \l
2:
.endm
.macro xmmld p1 p2
test \p2,$15
jnz 1f
movdqa \p1,[\p2]
jmp 2f
1:movdqu p1,[\p2]
2:
.endm
.macro floadlit p1
.section .data
1: .double \p1
.section .text
fld dword ptr 1b
.endm
.section .text
.macro fildr p1
sub rsp,8
mov [rsp], \p1,
fild dword ptr[rsp]
add rsp,8
.endm
.macro fistr p1
.endm
.macro rloadlit p1 p2
.section .data
1: .float \p2
.section .text
mov \p1,1b
.endm
.macro filoadlit p1
.section .data
1: .double \p1
.section .text
fld qword ptr 1b
.endm
.endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.