|
11 | 11 | }, |
12 | 12 | "Instructions": { |
13 | 13 | "roundss xmm0, xmm1, 00000000b": { |
14 | | - "ExpectedInstructionCount": 1, |
| 14 | + "ExpectedInstructionCount": 4, |
15 | 15 | "Comment": [ |
16 | 16 | "Nearest rounding", |
17 | 17 | "0x66 0x0f 0x3a 0x0a" |
18 | 18 | ], |
19 | 19 | "ExpectedArm64ASM": [ |
| 20 | + "mrs x0, S3_3_c4_c4_1", |
| 21 | + "and w0, w0, #0xfffffffe", |
| 22 | + "msr S3_3_c4_c4_1, x0", |
20 | 23 | "frintn s16, s17" |
21 | 24 | ] |
22 | 25 | }, |
23 | 26 | "roundss xmm0, xmm1, 00000001b": { |
24 | | - "ExpectedInstructionCount": 1, |
| 27 | + "ExpectedInstructionCount": 4, |
25 | 28 | "Comment": [ |
26 | 29 | "-inf rounding", |
27 | 30 | "0x66 0x0f 0x3a 0x0a" |
28 | 31 | ], |
29 | 32 | "ExpectedArm64ASM": [ |
| 33 | + "mrs x0, S3_3_c4_c4_1", |
| 34 | + "and w0, w0, #0xfffffffe", |
| 35 | + "msr S3_3_c4_c4_1, x0", |
30 | 36 | "frintm s16, s17" |
31 | 37 | ] |
32 | 38 | }, |
33 | 39 | "roundss xmm0, xmm1, 00000010b": { |
34 | | - "ExpectedInstructionCount": 1, |
| 40 | + "ExpectedInstructionCount": 4, |
35 | 41 | "Comment": [ |
36 | 42 | "+inf rounding", |
37 | 43 | "0x66 0x0f 0x3a 0x0a" |
38 | 44 | ], |
39 | 45 | "ExpectedArm64ASM": [ |
| 46 | + "mrs x0, S3_3_c4_c4_1", |
| 47 | + "and w0, w0, #0xfffffffe", |
| 48 | + "msr S3_3_c4_c4_1, x0", |
40 | 49 | "frintp s16, s17" |
41 | 50 | ] |
42 | 51 | }, |
43 | 52 | "roundss xmm0, xmm1, 00000011b": { |
44 | | - "ExpectedInstructionCount": 1, |
| 53 | + "ExpectedInstructionCount": 4, |
45 | 54 | "Comment": [ |
46 | 55 | "truncate rounding", |
47 | 56 | "0x66 0x0f 0x3a 0x0a" |
48 | 57 | ], |
49 | 58 | "ExpectedArm64ASM": [ |
| 59 | + "mrs x0, S3_3_c4_c4_1", |
| 60 | + "and w0, w0, #0xfffffffe", |
| 61 | + "msr S3_3_c4_c4_1, x0", |
50 | 62 | "frintz s16, s17" |
51 | 63 | ] |
52 | 64 | }, |
53 | 65 | "roundss xmm0, xmm1, 00000100b": { |
54 | | - "ExpectedInstructionCount": 1, |
| 66 | + "ExpectedInstructionCount": 4, |
55 | 67 | "Comment": [ |
56 | 68 | "host rounding mode rounding", |
57 | 69 | "0x66 0x0f 0x3a 0x0a" |
58 | 70 | ], |
59 | 71 | "ExpectedArm64ASM": [ |
| 72 | + "mrs x0, S3_3_c4_c4_1", |
| 73 | + "and w0, w0, #0xfffffffe", |
| 74 | + "msr S3_3_c4_c4_1, x0", |
60 | 75 | "frinti s16, s17" |
61 | 76 | ] |
62 | 77 | }, |
63 | 78 | "roundsd xmm0, xmm1, 00000000b": { |
64 | | - "ExpectedInstructionCount": 1, |
| 79 | + "ExpectedInstructionCount": 4, |
65 | 80 | "Comment": [ |
66 | 81 | "Nearest rounding", |
67 | 82 | "0x66 0x0f 0x3a 0x0b" |
68 | 83 | ], |
69 | 84 | "ExpectedArm64ASM": [ |
| 85 | + "mrs x0, S3_3_c4_c4_1", |
| 86 | + "and w0, w0, #0xfffffffe", |
| 87 | + "msr S3_3_c4_c4_1, x0", |
70 | 88 | "frintn d16, d17" |
71 | 89 | ] |
72 | 90 | }, |
73 | 91 | "roundsd xmm0, xmm1, 00000001b": { |
74 | | - "ExpectedInstructionCount": 1, |
| 92 | + "ExpectedInstructionCount": 4, |
75 | 93 | "Comment": [ |
76 | 94 | "-inf rounding", |
77 | 95 | "0x66 0x0f 0x3a 0x0b" |
78 | 96 | ], |
79 | 97 | "ExpectedArm64ASM": [ |
| 98 | + "mrs x0, S3_3_c4_c4_1", |
| 99 | + "and w0, w0, #0xfffffffe", |
| 100 | + "msr S3_3_c4_c4_1, x0", |
80 | 101 | "frintm d16, d17" |
81 | 102 | ] |
82 | 103 | }, |
83 | 104 | "roundsd xmm0, xmm1, 00000010b": { |
84 | | - "ExpectedInstructionCount": 1, |
| 105 | + "ExpectedInstructionCount": 4, |
85 | 106 | "Comment": [ |
86 | 107 | "+inf rounding", |
87 | 108 | "0x66 0x0f 0x3a 0x0b" |
88 | 109 | ], |
89 | 110 | "ExpectedArm64ASM": [ |
| 111 | + "mrs x0, S3_3_c4_c4_1", |
| 112 | + "and w0, w0, #0xfffffffe", |
| 113 | + "msr S3_3_c4_c4_1, x0", |
90 | 114 | "frintp d16, d17" |
91 | 115 | ] |
92 | 116 | }, |
93 | 117 | "roundsd xmm0, xmm1, 00000011b": { |
94 | | - "ExpectedInstructionCount": 1, |
| 118 | + "ExpectedInstructionCount": 4, |
95 | 119 | "Comment": [ |
96 | 120 | "truncate rounding", |
97 | 121 | "0x66 0x0f 0x3a 0x0b" |
98 | 122 | ], |
99 | 123 | "ExpectedArm64ASM": [ |
| 124 | + "mrs x0, S3_3_c4_c4_1", |
| 125 | + "and w0, w0, #0xfffffffe", |
| 126 | + "msr S3_3_c4_c4_1, x0", |
100 | 127 | "frintz d16, d17" |
101 | 128 | ] |
102 | 129 | }, |
103 | 130 | "roundsd xmm0, xmm1, 00000100b": { |
104 | | - "ExpectedInstructionCount": 1, |
| 131 | + "ExpectedInstructionCount": 4, |
105 | 132 | "Comment": [ |
106 | 133 | "host rounding mode rounding", |
107 | 134 | "0x66 0x0f 0x3a 0x0b" |
108 | 135 | ], |
109 | 136 | "ExpectedArm64ASM": [ |
| 137 | + "mrs x0, S3_3_c4_c4_1", |
| 138 | + "and w0, w0, #0xfffffffe", |
| 139 | + "msr S3_3_c4_c4_1, x0", |
110 | 140 | "frinti d16, d17" |
111 | 141 | ] |
112 | 142 | } |
|
0 commit comments