Mercurial > hg > CbC > CbC_llvm
comparison test/MC/Sparc/sparc-fp-instructions.s @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | afa8332a0e37 |
children |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
63 fadds %f0, %f4, %f8 | 63 fadds %f0, %f4, %f8 |
64 faddd %f0, %f4, %f8 | 64 faddd %f0, %f4, %f8 |
65 faddq %f0, %f4, %f8 | 65 faddq %f0, %f4, %f8 |
66 | 66 |
67 ! make sure we can handle V9 double registers and their aliased quad registers. | 67 ! make sure we can handle V9 double registers and their aliased quad registers. |
68 ! CHECK: faddd %f32, %f34, %f62 ! encoding: [0xbf,0xa0,0x48,0x43] | 68 ! CHECK: faddd %f32, %f34, %f62 ! encoding: [0xbf,0xa0,0x48,0x43] |
69 ! CHECK: faddq %f32, %f36, %f60 ! encoding: [0xbb,0xa0,0x48,0x65] | 69 ! CHECK: faddq %f32, %f36, %f60 ! encoding: [0xbb,0xa0,0x48,0x65] |
70 faddd %f32, %f34, %f62 | 70 faddd %f32, %f34, %f62 |
71 faddq %f32, %f36, %f60 | 71 faddq %f32, %f36, %f60 |
72 | 72 |
73 ! CHECK: fsubs %f0, %f4, %f8 ! encoding: [0x91,0xa0,0x08,0xa4] | 73 ! CHECK: fsubs %f0, %f4, %f8 ! encoding: [0x91,0xa0,0x08,0xa4] |
74 ! CHECK: fsubd %f0, %f4, %f8 ! encoding: [0x91,0xa0,0x08,0xc4] | 74 ! CHECK: fsubd %f0, %f4, %f8 ! encoding: [0x91,0xa0,0x08,0xc4] |
101 ! CHECK: fcmpq %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0x64] | 101 ! CHECK: fcmpq %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0x64] |
102 fcmps %f0, %f4 | 102 fcmps %f0, %f4 |
103 fcmpd %f0, %f4 | 103 fcmpd %f0, %f4 |
104 fcmpq %f0, %f4 | 104 fcmpq %f0, %f4 |
105 | 105 |
106 ! CHECK: fcmpes %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xa4] | 106 ! CHECK: fcmpes %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xa4] |
107 ! CHECK: fcmped %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xc4] | 107 ! CHECK: fcmped %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xc4] |
108 ! CHECK: fcmpeq %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xe4] | 108 ! CHECK: fcmpeq %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xe4] |
109 fcmpes %f0, %f4 | 109 fcmpes %f0, %f4 |
110 fcmped %f0, %f4 | 110 fcmped %f0, %f4 |
111 fcmpeq %f0, %f4 | 111 fcmpeq %f0, %f4 |
112 | 112 |
113 ! CHECK: fcmps %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x24] | 113 ! CHECK: fcmps %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x24] |
114 ! CHECK: fcmpd %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x44] | 114 ! CHECK: fcmpd %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x44] |
115 ! CHECK: fcmpq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x64] | 115 ! CHECK: fcmpq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x64] |
116 fcmps %fcc2, %f0, %f4 | 116 fcmps %fcc2, %f0, %f4 |
117 fcmpd %fcc2, %f0, %f4 | 117 fcmpd %fcc2, %f0, %f4 |
118 fcmpq %fcc2, %f0, %f4 | 118 fcmpq %fcc2, %f0, %f4 |
119 | 119 |
120 ! CHECK: fcmpes %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xa4] | 120 ! CHECK: fcmpes %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xa4] |
121 ! CHECK: fcmped %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xc4] | 121 ! CHECK: fcmped %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xc4] |
122 ! CHECK: fcmpeq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xe4] | 122 ! CHECK: fcmpeq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xe4] |
123 fcmpes %fcc2, %f0, %f4 | 123 fcmpes %fcc2, %f0, %f4 |
124 fcmped %fcc2, %f0, %f4 | 124 fcmped %fcc2, %f0, %f4 |
125 fcmpeq %fcc2, %f0, %f4 | 125 fcmpeq %fcc2, %f0, %f4 |
126 | 126 |
127 ! CHECK: fxtos %f0, %f4 ! encoding: [0x89,0xa0,0x10,0x80] | 127 ! CHECK: fxtos %f0, %f4 ! encoding: [0x89,0xa0,0x10,0x80] |
145 | 145 |
146 ! CHECK: st %f29, [%l0] ! encoding: [0xfb,0x24,0x00,0x00] | 146 ! CHECK: st %f29, [%l0] ! encoding: [0xfb,0x24,0x00,0x00] |
147 ! CHECK: std %f48, [%l0] ! encoding: [0xe3,0x3c,0x00,0x00] | 147 ! CHECK: std %f48, [%l0] ! encoding: [0xe3,0x3c,0x00,0x00] |
148 st %f29, [%l0] | 148 st %f29, [%l0] |
149 std %f48, [%l0] | 149 std %f48, [%l0] |
150 | |
151 ! CHECK: std %fq, [%o4] ! encoding: [0xc1,0x33,0x00,0x00] | |
152 ! CHECK: std %fq, [%l1+62] ! encoding: [0xc1,0x34,0x60,0x3e] | |
153 ! CHECK: std %fq, [%i3+%l7] ! encoding: [0xc1,0x36,0xc0,0x17] | |
154 std %fq, [%o4] | |
155 std %fq, [%l1+62] | |
156 std %fq, [%i3+%l7] | |
157 |