Changeset b14e9749 in mainline for kernel/arch/ia64/src/fpu_context.c
- Timestamp:
- 2014-09-09T20:56:34Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 57a2208
- Parents:
- 4bd820f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/fpu_context.c
r4bd820f rb14e9749 71 71 "stf.spill %[f60] = f60\n" 72 72 "stf.spill %[f61] = f61\n" 73 :: 73 : 74 [f32] "=m" (fctx->fr[0]), 75 [f33] "=m" (fctx->fr[1]), 76 [f34] "=m" (fctx->fr[2]), 77 [f35] "=m" (fctx->fr[3]), 78 [f36] "=m" (fctx->fr[4]), 79 [f37] "=m" (fctx->fr[5]), 80 [f38] "=m" (fctx->fr[6]), 81 [f39] "=m" (fctx->fr[7]), 82 [f40] "=m" (fctx->fr[8]), 83 [f41] "=m" (fctx->fr[9]), 84 [f42] "=m" (fctx->fr[10]), 85 [f43] "=m" (fctx->fr[11]), 86 [f44] "=m" (fctx->fr[12]), 87 [f45] "=m" (fctx->fr[13]), 88 [f46] "=m" (fctx->fr[14]), 89 [f47] "=m" (fctx->fr[15]), 90 [f48] "=m" (fctx->fr[16]), 91 [f49] "=m" (fctx->fr[17]), 92 [f50] "=m" (fctx->fr[18]), 93 [f51] "=m" (fctx->fr[19]), 94 [f52] "=m" (fctx->fr[20]), 95 [f53] "=m" (fctx->fr[21]), 96 [f54] "=m" (fctx->fr[22]), 97 [f55] "=m" (fctx->fr[23]), 98 [f56] "=m" (fctx->fr[24]), 99 [f57] "=m" (fctx->fr[25]), 100 [f58] "=m" (fctx->fr[26]), 101 [f59] "=m" (fctx->fr[27]), 102 [f60] "=m" (fctx->fr[28]), 103 [f61] "=m" (fctx->fr[29]) 104 ); 105 106 asm volatile ( 107 "stf.spill %[f62] = f62\n" 108 "stf.spill %[f63] = f63\n" 109 "stf.spill %[f64] = f64\n" 110 "stf.spill %[f65] = f65\n" 111 "stf.spill %[f66] = f66\n" 112 "stf.spill %[f67] = f67\n" 113 "stf.spill %[f68] = f68\n" 114 "stf.spill %[f69] = f69\n" 115 "stf.spill %[f70] = f70\n" 116 "stf.spill %[f71] = f71\n" 117 "stf.spill %[f72] = f72\n" 118 "stf.spill %[f73] = f73\n" 119 "stf.spill %[f74] = f74\n" 120 "stf.spill %[f75] = f75\n" 121 "stf.spill %[f76] = f76\n" 122 "stf.spill %[f77] = f77\n" 123 "stf.spill %[f78] = f78\n" 124 "stf.spill %[f79] = f79\n" 125 "stf.spill %[f80] = f80\n" 126 "stf.spill %[f81] = f81\n" 127 "stf.spill %[f82] = f82\n" 128 "stf.spill %[f83] = f83\n" 129 "stf.spill %[f84] = f84\n" 130 "stf.spill %[f85] = f85\n" 131 "stf.spill %[f86] = f86\n" 132 "stf.spill %[f87] = f87\n" 133 "stf.spill %[f88] = f88\n" 134 "stf.spill %[f89] = f89\n" 135 "stf.spill %[f90] = f90\n" 136 "stf.spill %[f91] = f91\n" 137 : 138 [f62] "=m" (fctx->fr[30]), 139 [f63] "=m" (fctx->fr[31]), 140 [f64] "=m" (fctx->fr[32]), 141 [f65] "=m" (fctx->fr[33]), 142 [f66] "=m" (fctx->fr[34]), 143 [f67] "=m" (fctx->fr[35]), 144 [f68] "=m" (fctx->fr[36]), 145 [f69] "=m" (fctx->fr[37]), 146 [f70] "=m" (fctx->fr[38]), 147 [f71] "=m" (fctx->fr[39]), 148 [f72] "=m" (fctx->fr[40]), 149 [f73] "=m" (fctx->fr[41]), 150 [f74] "=m" (fctx->fr[42]), 151 [f75] "=m" (fctx->fr[43]), 152 [f76] "=m" (fctx->fr[44]), 153 [f77] "=m" (fctx->fr[45]), 154 [f78] "=m" (fctx->fr[46]), 155 [f79] "=m" (fctx->fr[47]), 156 [f80] "=m" (fctx->fr[48]), 157 [f81] "=m" (fctx->fr[49]), 158 [f82] "=m" (fctx->fr[50]), 159 [f83] "=m" (fctx->fr[51]), 160 [f84] "=m" (fctx->fr[52]), 161 [f85] "=m" (fctx->fr[53]), 162 [f86] "=m" (fctx->fr[54]), 163 [f87] "=m" (fctx->fr[55]), 164 [f88] "=m" (fctx->fr[56]), 165 [f89] "=m" (fctx->fr[57]), 166 [f90] "=m" (fctx->fr[58]), 167 [f91] "=m" (fctx->fr[59]) 168 ); 169 170 asm volatile ( 171 "stf.spill %[f92] = f92\n" 172 "stf.spill %[f93] = f93\n" 173 "stf.spill %[f94] = f94\n" 174 "stf.spill %[f95] = f95\n" 175 "stf.spill %[f96] = f96\n" 176 "stf.spill %[f97] = f97\n" 177 "stf.spill %[f98] = f98\n" 178 "stf.spill %[f99] = f99\n" 179 "stf.spill %[f100] = f100\n" 180 "stf.spill %[f101] = f101\n" 181 "stf.spill %[f102] = f102\n" 182 "stf.spill %[f103] = f103\n" 183 "stf.spill %[f104] = f104\n" 184 "stf.spill %[f105] = f105\n" 185 "stf.spill %[f106] = f106\n" 186 "stf.spill %[f107] = f107\n" 187 "stf.spill %[f108] = f108\n" 188 "stf.spill %[f109] = f109\n" 189 "stf.spill %[f110] = f110\n" 190 "stf.spill %[f111] = f111\n" 191 "stf.spill %[f112] = f112\n" 192 "stf.spill %[f113] = f113\n" 193 "stf.spill %[f114] = f114\n" 194 "stf.spill %[f115] = f115\n" 195 "stf.spill %[f116] = f116\n" 196 "stf.spill %[f117] = f117\n" 197 "stf.spill %[f118] = f118\n" 198 "stf.spill %[f119] = f119\n" 199 "stf.spill %[f120] = f120\n" 200 "stf.spill %[f121] = f121\n" 201 : 202 [f92] "=m" (fctx->fr[60]), 203 [f93] "=m" (fctx->fr[61]), 204 [f94] "=m" (fctx->fr[62]), 205 [f95] "=m" (fctx->fr[63]), 206 [f96] "=m" (fctx->fr[64]), 207 [f97] "=m" (fctx->fr[65]), 208 [f98] "=m" (fctx->fr[66]), 209 [f99] "=m" (fctx->fr[67]), 210 [f100] "=m" (fctx->fr[68]), 211 [f101] "=m" (fctx->fr[69]), 212 [f102] "=m" (fctx->fr[70]), 213 [f103] "=m" (fctx->fr[71]), 214 [f104] "=m" (fctx->fr[72]), 215 [f105] "=m" (fctx->fr[73]), 216 [f106] "=m" (fctx->fr[74]), 217 [f107] "=m" (fctx->fr[75]), 218 [f108] "=m" (fctx->fr[76]), 219 [f109] "=m" (fctx->fr[77]), 220 [f110] "=m" (fctx->fr[78]), 221 [f111] "=m" (fctx->fr[79]), 222 [f112] "=m" (fctx->fr[80]), 223 [f113] "=m" (fctx->fr[81]), 224 [f114] "=m" (fctx->fr[82]), 225 [f115] "=m" (fctx->fr[83]), 226 [f116] "=m" (fctx->fr[84]), 227 [f117] "=m" (fctx->fr[85]), 228 [f118] "=m" (fctx->fr[86]), 229 [f119] "=m" (fctx->fr[87]), 230 [f120] "=m" (fctx->fr[88]), 231 [f121] "=m" (fctx->fr[89]) 232 ); 233 234 asm volatile ( 235 "stf.spill %[f122] = f122\n" 236 "stf.spill %[f123] = f123\n" 237 "stf.spill %[f124] = f124\n" 238 "stf.spill %[f125] = f125\n" 239 "stf.spill %[f126] = f126\n" 240 "stf.spill %[f127] = f127\n" 241 : 242 [f122] "=m" (fctx->fr[90]), 243 [f123] "=m" (fctx->fr[91]), 244 [f124] "=m" (fctx->fr[92]), 245 [f125] "=m" (fctx->fr[93]), 246 [f126] "=m" (fctx->fr[94]), 247 [f127] "=m" (fctx->fr[95]) 248 ); 249 } 250 251 void fpu_context_restore(fpu_context_t *fctx) 252 { 253 asm volatile ( 254 "ldf.fill f32 = %[f32]\n" 255 "ldf.fill f33 = %[f33]\n" 256 "ldf.fill f34 = %[f34]\n" 257 "ldf.fill f35 = %[f35]\n" 258 "ldf.fill f36 = %[f36]\n" 259 "ldf.fill f37 = %[f37]\n" 260 "ldf.fill f38 = %[f38]\n" 261 "ldf.fill f39 = %[f39]\n" 262 "ldf.fill f40 = %[f40]\n" 263 "ldf.fill f41 = %[f41]\n" 264 "ldf.fill f42 = %[f42]\n" 265 "ldf.fill f43 = %[f43]\n" 266 "ldf.fill f44 = %[f44]\n" 267 "ldf.fill f45 = %[f45]\n" 268 "ldf.fill f46 = %[f46]\n" 269 "ldf.fill f47 = %[f47]\n" 270 "ldf.fill f48 = %[f48]\n" 271 "ldf.fill f49 = %[f49]\n" 272 "ldf.fill f50 = %[f50]\n" 273 "ldf.fill f51 = %[f51]\n" 274 "ldf.fill f52 = %[f52]\n" 275 "ldf.fill f53 = %[f53]\n" 276 "ldf.fill f54 = %[f54]\n" 277 "ldf.fill f55 = %[f55]\n" 278 "ldf.fill f56 = %[f56]\n" 279 "ldf.fill f57 = %[f57]\n" 280 "ldf.fill f58 = %[f58]\n" 281 "ldf.fill f59 = %[f59]\n" 282 "ldf.fill f60 = %[f60]\n" 283 "ldf.fill f61 = %[f61]\n" 284 :: 74 285 [f32] "m" (fctx->fr[0]), 75 286 [f33] "m" (fctx->fr[1]), … … 105 316 106 317 asm volatile ( 107 " stf.spill %[f62] = f62\n"108 " stf.spill %[f63] = f63\n"109 " stf.spill %[f64] = f64\n"110 " stf.spill %[f65] = f65\n"111 " stf.spill %[f66] = f66\n"112 " stf.spill %[f67] = f67\n"113 " stf.spill %[f68] = f68\n"114 " stf.spill %[f69] = f69\n"115 " stf.spill %[f70] = f70\n"116 " stf.spill %[f71] = f71\n"117 " stf.spill %[f72] = f72\n"118 " stf.spill %[f73] = f73\n"119 " stf.spill %[f74] = f74\n"120 " stf.spill %[f75] = f75\n"121 " stf.spill %[f76] = f76\n"122 " stf.spill %[f77] = f77\n"123 " stf.spill %[f78] = f78\n"124 " stf.spill %[f79] = f79\n"125 " stf.spill %[f80] = f80\n"126 " stf.spill %[f81] = f81\n"127 " stf.spill %[f82] = f82\n"128 " stf.spill %[f83] = f83\n"129 " stf.spill %[f84] = f84\n"130 " stf.spill %[f85] = f85\n"131 " stf.spill %[f86] = f86\n"132 " stf.spill %[f87] = f87\n"133 " stf.spill %[f88] = f88\n"134 " stf.spill %[f89] = f89\n"135 " stf.spill %[f90] = f90\n"136 " stf.spill %[f91] = f91\n"318 "ldf.fill f62 = %[f62]\n" 319 "ldf.fill f63 = %[f63]\n" 320 "ldf.fill f64 = %[f64]\n" 321 "ldf.fill f65 = %[f65]\n" 322 "ldf.fill f66 = %[f66]\n" 323 "ldf.fill f67 = %[f67]\n" 324 "ldf.fill f68 = %[f68]\n" 325 "ldf.fill f69 = %[f69]\n" 326 "ldf.fill f70 = %[f70]\n" 327 "ldf.fill f71 = %[f71]\n" 328 "ldf.fill f72 = %[f72]\n" 329 "ldf.fill f73 = %[f73]\n" 330 "ldf.fill f74 = %[f74]\n" 331 "ldf.fill f75 = %[f75]\n" 332 "ldf.fill f76 = %[f76]\n" 333 "ldf.fill f77 = %[f77]\n" 334 "ldf.fill f78 = %[f78]\n" 335 "ldf.fill f79 = %[f79]\n" 336 "ldf.fill f80 = %[f80]\n" 337 "ldf.fill f81 = %[f81]\n" 338 "ldf.fill f82 = %[f82]\n" 339 "ldf.fill f83 = %[f83]\n" 340 "ldf.fill f84 = %[f84]\n" 341 "ldf.fill f85 = %[f85]\n" 342 "ldf.fill f86 = %[f86]\n" 343 "ldf.fill f87 = %[f87]\n" 344 "ldf.fill f88 = %[f88]\n" 345 "ldf.fill f89 = %[f89]\n" 346 "ldf.fill f90 = %[f90]\n" 347 "ldf.fill f91 = %[f91]\n" 137 348 :: 138 349 [f62] "m" (fctx->fr[30]), … … 169 380 170 381 asm volatile ( 171 " stf.spill %[f92] = f92\n"172 " stf.spill %[f93] = f93\n"173 " stf.spill %[f94] = f94\n"174 " stf.spill %[f95] = f95\n"175 " stf.spill %[f96] = f96\n"176 " stf.spill %[f97] = f97\n"177 " stf.spill %[f98] = f98\n"178 " stf.spill %[f99] = f99\n"179 " stf.spill %[f100] = f100\n"180 " stf.spill %[f101] = f101\n"181 " stf.spill %[f102] = f102\n"182 " stf.spill %[f103] = f103\n"183 " stf.spill %[f104] = f104\n"184 " stf.spill %[f105] = f105\n"185 " stf.spill %[f106] = f106\n"186 " stf.spill %[f107] = f107\n"187 " stf.spill %[f108] = f108\n"188 " stf.spill %[f109] = f109\n"189 " stf.spill %[f110] = f110\n"190 " stf.spill %[f111] = f111\n"191 " stf.spill %[f112] = f112\n"192 " stf.spill %[f113] = f113\n"193 " stf.spill %[f114] = f114\n"194 " stf.spill %[f115] = f115\n"195 " stf.spill %[f116] = f116\n"196 " stf.spill %[f117] = f117\n"197 " stf.spill %[f118] = f118\n"198 " stf.spill %[f119] = f119\n"199 " stf.spill %[f120] = f120\n"200 " stf.spill %[f121] = f121\n"382 "ldf.fill f92 = %[f92]\n" 383 "ldf.fill f93 = %[f93]\n" 384 "ldf.fill f94 = %[f94]\n" 385 "ldf.fill f95 = %[f95]\n" 386 "ldf.fill f96 = %[f96]\n" 387 "ldf.fill f97 = %[f97]\n" 388 "ldf.fill f98 = %[f98]\n" 389 "ldf.fill f99 = %[f99]\n" 390 "ldf.fill f100 = %[f100]\n" 391 "ldf.fill f101 = %[f101]\n" 392 "ldf.fill f102 = %[f102]\n" 393 "ldf.fill f103 = %[f103]\n" 394 "ldf.fill f104 = %[f104]\n" 395 "ldf.fill f105 = %[f105]\n" 396 "ldf.fill f106 = %[f106]\n" 397 "ldf.fill f107 = %[f107]\n" 398 "ldf.fill f108 = %[f108]\n" 399 "ldf.fill f109 = %[f109]\n" 400 "ldf.fill f110 = %[f110]\n" 401 "ldf.fill f111 = %[f111]\n" 402 "ldf.fill f112 = %[f112]\n" 403 "ldf.fill f113 = %[f113]\n" 404 "ldf.fill f114 = %[f114]\n" 405 "ldf.fill f115 = %[f115]\n" 406 "ldf.fill f116 = %[f116]\n" 407 "ldf.fill f117 = %[f117]\n" 408 "ldf.fill f118 = %[f118]\n" 409 "ldf.fill f119 = %[f119]\n" 410 "ldf.fill f120 = %[f120]\n" 411 "ldf.fill f121 = %[f121]\n" 201 412 :: 202 413 [f92] "m" (fctx->fr[60]), … … 233 444 234 445 asm volatile ( 235 " stf.spill %[f122] = f122\n"236 " stf.spill %[f123] = f123\n"237 " stf.spill %[f124] = f124\n"238 " stf.spill %[f125] = f125\n"239 " stf.spill %[f126] = f126\n"240 " stf.spill %[f127] = f127\n"446 "ldf.fill f122 = %[f122]\n" 447 "ldf.fill f123 = %[f123]\n" 448 "ldf.fill f124 = %[f124]\n" 449 "ldf.fill f125 = %[f125]\n" 450 "ldf.fill f126 = %[f126]\n" 451 "ldf.fill f127 = %[f127]\n" 241 452 :: 242 453 [f122] "m" (fctx->fr[90]), … … 246 457 [f126] "m" (fctx->fr[94]), 247 458 [f127] "m" (fctx->fr[95]) 248 );249 }250 251 void fpu_context_restore(fpu_context_t *fctx)252 {253 asm volatile (254 "ldf.fill f32 = %[f32]\n"255 "ldf.fill f33 = %[f33]\n"256 "ldf.fill f34 = %[f34]\n"257 "ldf.fill f35 = %[f35]\n"258 "ldf.fill f36 = %[f36]\n"259 "ldf.fill f37 = %[f37]\n"260 "ldf.fill f38 = %[f38]\n"261 "ldf.fill f39 = %[f39]\n"262 "ldf.fill f40 = %[f40]\n"263 "ldf.fill f41 = %[f41]\n"264 "ldf.fill f42 = %[f42]\n"265 "ldf.fill f43 = %[f43]\n"266 "ldf.fill f44 = %[f44]\n"267 "ldf.fill f45 = %[f45]\n"268 "ldf.fill f46 = %[f46]\n"269 "ldf.fill f47 = %[f47]\n"270 "ldf.fill f48 = %[f48]\n"271 "ldf.fill f49 = %[f49]\n"272 "ldf.fill f50 = %[f50]\n"273 "ldf.fill f51 = %[f51]\n"274 "ldf.fill f52 = %[f52]\n"275 "ldf.fill f53 = %[f53]\n"276 "ldf.fill f54 = %[f54]\n"277 "ldf.fill f55 = %[f55]\n"278 "ldf.fill f56 = %[f56]\n"279 "ldf.fill f57 = %[f57]\n"280 "ldf.fill f58 = %[f58]\n"281 "ldf.fill f59 = %[f59]\n"282 "ldf.fill f60 = %[f60]\n"283 "ldf.fill f61 = %[f61]\n"284 :285 [f32] "=m" (fctx->fr[0]),286 [f33] "=m" (fctx->fr[1]),287 [f34] "=m" (fctx->fr[2]),288 [f35] "=m" (fctx->fr[3]),289 [f36] "=m" (fctx->fr[4]),290 [f37] "=m" (fctx->fr[5]),291 [f38] "=m" (fctx->fr[6]),292 [f39] "=m" (fctx->fr[7]),293 [f40] "=m" (fctx->fr[8]),294 [f41] "=m" (fctx->fr[9]),295 [f42] "=m" (fctx->fr[10]),296 [f43] "=m" (fctx->fr[11]),297 [f44] "=m" (fctx->fr[12]),298 [f45] "=m" (fctx->fr[13]),299 [f46] "=m" (fctx->fr[14]),300 [f47] "=m" (fctx->fr[15]),301 [f48] "=m" (fctx->fr[16]),302 [f49] "=m" (fctx->fr[17]),303 [f50] "=m" (fctx->fr[18]),304 [f51] "=m" (fctx->fr[19]),305 [f52] "=m" (fctx->fr[20]),306 [f53] "=m" (fctx->fr[21]),307 [f54] "=m" (fctx->fr[22]),308 [f55] "=m" (fctx->fr[23]),309 [f56] "=m" (fctx->fr[24]),310 [f57] "=m" (fctx->fr[25]),311 [f58] "=m" (fctx->fr[26]),312 [f59] "=m" (fctx->fr[27]),313 [f60] "=m" (fctx->fr[28]),314 [f61] "=m" (fctx->fr[29])315 );316 317 asm volatile (318 "ldf.fill f62 = %[f62]\n"319 "ldf.fill f63 = %[f63]\n"320 "ldf.fill f64 = %[f64]\n"321 "ldf.fill f65 = %[f65]\n"322 "ldf.fill f66 = %[f66]\n"323 "ldf.fill f67 = %[f67]\n"324 "ldf.fill f68 = %[f68]\n"325 "ldf.fill f69 = %[f69]\n"326 "ldf.fill f70 = %[f70]\n"327 "ldf.fill f71 = %[f71]\n"328 "ldf.fill f72 = %[f72]\n"329 "ldf.fill f73 = %[f73]\n"330 "ldf.fill f74 = %[f74]\n"331 "ldf.fill f75 = %[f75]\n"332 "ldf.fill f76 = %[f76]\n"333 "ldf.fill f77 = %[f77]\n"334 "ldf.fill f78 = %[f78]\n"335 "ldf.fill f79 = %[f79]\n"336 "ldf.fill f80 = %[f80]\n"337 "ldf.fill f81 = %[f81]\n"338 "ldf.fill f82 = %[f82]\n"339 "ldf.fill f83 = %[f83]\n"340 "ldf.fill f84 = %[f84]\n"341 "ldf.fill f85 = %[f85]\n"342 "ldf.fill f86 = %[f86]\n"343 "ldf.fill f87 = %[f87]\n"344 "ldf.fill f88 = %[f88]\n"345 "ldf.fill f89 = %[f89]\n"346 "ldf.fill f90 = %[f90]\n"347 "ldf.fill f91 = %[f91]\n"348 :349 [f62] "=m" (fctx->fr[30]),350 [f63] "=m" (fctx->fr[31]),351 [f64] "=m" (fctx->fr[32]),352 [f65] "=m" (fctx->fr[33]),353 [f66] "=m" (fctx->fr[34]),354 [f67] "=m" (fctx->fr[35]),355 [f68] "=m" (fctx->fr[36]),356 [f69] "=m" (fctx->fr[37]),357 [f70] "=m" (fctx->fr[38]),358 [f71] "=m" (fctx->fr[39]),359 [f72] "=m" (fctx->fr[40]),360 [f73] "=m" (fctx->fr[41]),361 [f74] "=m" (fctx->fr[42]),362 [f75] "=m" (fctx->fr[43]),363 [f76] "=m" (fctx->fr[44]),364 [f77] "=m" (fctx->fr[45]),365 [f78] "=m" (fctx->fr[46]),366 [f79] "=m" (fctx->fr[47]),367 [f80] "=m" (fctx->fr[48]),368 [f81] "=m" (fctx->fr[49]),369 [f82] "=m" (fctx->fr[50]),370 [f83] "=m" (fctx->fr[51]),371 [f84] "=m" (fctx->fr[52]),372 [f85] "=m" (fctx->fr[53]),373 [f86] "=m" (fctx->fr[54]),374 [f87] "=m" (fctx->fr[55]),375 [f88] "=m" (fctx->fr[56]),376 [f89] "=m" (fctx->fr[57]),377 [f90] "=m" (fctx->fr[58]),378 [f91] "=m" (fctx->fr[59])379 );380 381 asm volatile (382 "ldf.fill f92 = %[f92]\n"383 "ldf.fill f93 = %[f93]\n"384 "ldf.fill f94 = %[f94]\n"385 "ldf.fill f95 = %[f95]\n"386 "ldf.fill f96 = %[f96]\n"387 "ldf.fill f97 = %[f97]\n"388 "ldf.fill f98 = %[f98]\n"389 "ldf.fill f99 = %[f99]\n"390 "ldf.fill f100 = %[f100]\n"391 "ldf.fill f101 = %[f101]\n"392 "ldf.fill f102 = %[f102]\n"393 "ldf.fill f103 = %[f103]\n"394 "ldf.fill f104 = %[f104]\n"395 "ldf.fill f105 = %[f105]\n"396 "ldf.fill f106 = %[f106]\n"397 "ldf.fill f107 = %[f107]\n"398 "ldf.fill f108 = %[f108]\n"399 "ldf.fill f109 = %[f109]\n"400 "ldf.fill f110 = %[f110]\n"401 "ldf.fill f111 = %[f111]\n"402 "ldf.fill f112 = %[f112]\n"403 "ldf.fill f113 = %[f113]\n"404 "ldf.fill f114 = %[f114]\n"405 "ldf.fill f115 = %[f115]\n"406 "ldf.fill f116 = %[f116]\n"407 "ldf.fill f117 = %[f117]\n"408 "ldf.fill f118 = %[f118]\n"409 "ldf.fill f119 = %[f119]\n"410 "ldf.fill f120 = %[f120]\n"411 "ldf.fill f121 = %[f121]\n"412 :413 [f92] "=m" (fctx->fr[60]),414 [f93] "=m" (fctx->fr[61]),415 [f94] "=m" (fctx->fr[62]),416 [f95] "=m" (fctx->fr[63]),417 [f96] "=m" (fctx->fr[64]),418 [f97] "=m" (fctx->fr[65]),419 [f98] "=m" (fctx->fr[66]),420 [f99] "=m" (fctx->fr[67]),421 [f100] "=m" (fctx->fr[68]),422 [f101] "=m" (fctx->fr[69]),423 [f102] "=m" (fctx->fr[70]),424 [f103] "=m" (fctx->fr[71]),425 [f104] "=m" (fctx->fr[72]),426 [f105] "=m" (fctx->fr[73]),427 [f106] "=m" (fctx->fr[74]),428 [f107] "=m" (fctx->fr[75]),429 [f108] "=m" (fctx->fr[76]),430 [f109] "=m" (fctx->fr[77]),431 [f110] "=m" (fctx->fr[78]),432 [f111] "=m" (fctx->fr[79]),433 [f112] "=m" (fctx->fr[80]),434 [f113] "=m" (fctx->fr[81]),435 [f114] "=m" (fctx->fr[82]),436 [f115] "=m" (fctx->fr[83]),437 [f116] "=m" (fctx->fr[84]),438 [f117] "=m" (fctx->fr[85]),439 [f118] "=m" (fctx->fr[86]),440 [f119] "=m" (fctx->fr[87]),441 [f120] "=m" (fctx->fr[88]),442 [f121] "=m" (fctx->fr[89])443 );444 445 asm volatile (446 "ldf.fill f122 = %[f122]\n"447 "ldf.fill f123 = %[f123]\n"448 "ldf.fill f124 = %[f124]\n"449 "ldf.fill f125 = %[f125]\n"450 "ldf.fill f126 = %[f126]\n"451 "ldf.fill f127 = %[f127]\n"452 :453 [f122] "=m" (fctx->fr[90]),454 [f123] "=m" (fctx->fr[91]),455 [f124] "=m" (fctx->fr[92]),456 [f125] "=m" (fctx->fr[93]),457 [f126] "=m" (fctx->fr[94]),458 [f127] "=m" (fctx->fr[95])459 459 ); 460 460 }
Note:
See TracChangeset
for help on using the changeset viewer.