1 // Copyright 2015, VIXL authors 2 // All rights reserved. 3 // 4 // Redistribution and use in source and binary forms, with or without 5 // modification, are permitted provided that the following conditions are met: 6 // 7 // * Redistributions of source code must retain the above copyright notice, 8 // this list of conditions and the following disclaimer. 9 // * Redistributions in binary form must reproduce the above copyright notice, 10 // this list of conditions and the following disclaimer in the documentation 11 // and/or other materials provided with the distribution. 12 // * Neither the name of ARM Limited nor the names of its contributors may be 13 // used to endorse or promote products derived from this software without 14 // specific prior written permission. 15 // 16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" AND 17 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 20 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 27 28 // --------------------------------------------------------------------- 29 // This file is auto generated using tools/generate_simulator_traces.py. 30 // 31 // PLEASE DO NOT EDIT. 32 // --------------------------------------------------------------------- 33 34 #ifndef VIXL_ASSEMBLER_COND_RDLOW_RNLOW_OPERAND_IMMEDIATE_T32_ZERO_RSBS_H_ 35 #define VIXL_ASSEMBLER_COND_RDLOW_RNLOW_OPERAND_IMMEDIATE_T32_ZERO_RSBS_H_ 36 37 const byte kInstruction_rsbs_al_r0_r0_0[] = { 38 0x40, 0x42 // rsbs al r0 r0 0 39 }; 40 const byte kInstruction_rsbs_al_r0_r1_0[] = { 41 0x48, 0x42 // rsbs al r0 r1 0 42 }; 43 const byte kInstruction_rsbs_al_r0_r2_0[] = { 44 0x50, 0x42 // rsbs al r0 r2 0 45 }; 46 const byte kInstruction_rsbs_al_r0_r3_0[] = { 47 0x58, 0x42 // rsbs al r0 r3 0 48 }; 49 const byte kInstruction_rsbs_al_r0_r4_0[] = { 50 0x60, 0x42 // rsbs al r0 r4 0 51 }; 52 const byte kInstruction_rsbs_al_r0_r5_0[] = { 53 0x68, 0x42 // rsbs al r0 r5 0 54 }; 55 const byte kInstruction_rsbs_al_r0_r6_0[] = { 56 0x70, 0x42 // rsbs al r0 r6 0 57 }; 58 const byte kInstruction_rsbs_al_r0_r7_0[] = { 59 0x78, 0x42 // rsbs al r0 r7 0 60 }; 61 const byte kInstruction_rsbs_al_r1_r0_0[] = { 62 0x41, 0x42 // rsbs al r1 r0 0 63 }; 64 const byte kInstruction_rsbs_al_r1_r1_0[] = { 65 0x49, 0x42 // rsbs al r1 r1 0 66 }; 67 const byte kInstruction_rsbs_al_r1_r2_0[] = { 68 0x51, 0x42 // rsbs al r1 r2 0 69 }; 70 const byte kInstruction_rsbs_al_r1_r3_0[] = { 71 0x59, 0x42 // rsbs al r1 r3 0 72 }; 73 const byte kInstruction_rsbs_al_r1_r4_0[] = { 74 0x61, 0x42 // rsbs al r1 r4 0 75 }; 76 const byte kInstruction_rsbs_al_r1_r5_0[] = { 77 0x69, 0x42 // rsbs al r1 r5 0 78 }; 79 const byte kInstruction_rsbs_al_r1_r6_0[] = { 80 0x71, 0x42 // rsbs al r1 r6 0 81 }; 82 const byte kInstruction_rsbs_al_r1_r7_0[] = { 83 0x79, 0x42 // rsbs al r1 r7 0 84 }; 85 const byte kInstruction_rsbs_al_r2_r0_0[] = { 86 0x42, 0x42 // rsbs al r2 r0 0 87 }; 88 const byte kInstruction_rsbs_al_r2_r1_0[] = { 89 0x4a, 0x42 // rsbs al r2 r1 0 90 }; 91 const byte kInstruction_rsbs_al_r2_r2_0[] = { 92 0x52, 0x42 // rsbs al r2 r2 0 93 }; 94 const byte kInstruction_rsbs_al_r2_r3_0[] = { 95 0x5a, 0x42 // rsbs al r2 r3 0 96 }; 97 const byte kInstruction_rsbs_al_r2_r4_0[] = { 98 0x62, 0x42 // rsbs al r2 r4 0 99 }; 100 const byte kInstruction_rsbs_al_r2_r5_0[] = { 101 0x6a, 0x42 // rsbs al r2 r5 0 102 }; 103 const byte kInstruction_rsbs_al_r2_r6_0[] = { 104 0x72, 0x42 // rsbs al r2 r6 0 105 }; 106 const byte kInstruction_rsbs_al_r2_r7_0[] = { 107 0x7a, 0x42 // rsbs al r2 r7 0 108 }; 109 const byte kInstruction_rsbs_al_r3_r0_0[] = { 110 0x43, 0x42 // rsbs al r3 r0 0 111 }; 112 const byte kInstruction_rsbs_al_r3_r1_0[] = { 113 0x4b, 0x42 // rsbs al r3 r1 0 114 }; 115 const byte kInstruction_rsbs_al_r3_r2_0[] = { 116 0x53, 0x42 // rsbs al r3 r2 0 117 }; 118 const byte kInstruction_rsbs_al_r3_r3_0[] = { 119 0x5b, 0x42 // rsbs al r3 r3 0 120 }; 121 const byte kInstruction_rsbs_al_r3_r4_0[] = { 122 0x63, 0x42 // rsbs al r3 r4 0 123 }; 124 const byte kInstruction_rsbs_al_r3_r5_0[] = { 125 0x6b, 0x42 // rsbs al r3 r5 0 126 }; 127 const byte kInstruction_rsbs_al_r3_r6_0[] = { 128 0x73, 0x42 // rsbs al r3 r6 0 129 }; 130 const byte kInstruction_rsbs_al_r3_r7_0[] = { 131 0x7b, 0x42 // rsbs al r3 r7 0 132 }; 133 const byte kInstruction_rsbs_al_r4_r0_0[] = { 134 0x44, 0x42 // rsbs al r4 r0 0 135 }; 136 const byte kInstruction_rsbs_al_r4_r1_0[] = { 137 0x4c, 0x42 // rsbs al r4 r1 0 138 }; 139 const byte kInstruction_rsbs_al_r4_r2_0[] = { 140 0x54, 0x42 // rsbs al r4 r2 0 141 }; 142 const byte kInstruction_rsbs_al_r4_r3_0[] = { 143 0x5c, 0x42 // rsbs al r4 r3 0 144 }; 145 const byte kInstruction_rsbs_al_r4_r4_0[] = { 146 0x64, 0x42 // rsbs al r4 r4 0 147 }; 148 const byte kInstruction_rsbs_al_r4_r5_0[] = { 149 0x6c, 0x42 // rsbs al r4 r5 0 150 }; 151 const byte kInstruction_rsbs_al_r4_r6_0[] = { 152 0x74, 0x42 // rsbs al r4 r6 0 153 }; 154 const byte kInstruction_rsbs_al_r4_r7_0[] = { 155 0x7c, 0x42 // rsbs al r4 r7 0 156 }; 157 const byte kInstruction_rsbs_al_r5_r0_0[] = { 158 0x45, 0x42 // rsbs al r5 r0 0 159 }; 160 const byte kInstruction_rsbs_al_r5_r1_0[] = { 161 0x4d, 0x42 // rsbs al r5 r1 0 162 }; 163 const byte kInstruction_rsbs_al_r5_r2_0[] = { 164 0x55, 0x42 // rsbs al r5 r2 0 165 }; 166 const byte kInstruction_rsbs_al_r5_r3_0[] = { 167 0x5d, 0x42 // rsbs al r5 r3 0 168 }; 169 const byte kInstruction_rsbs_al_r5_r4_0[] = { 170 0x65, 0x42 // rsbs al r5 r4 0 171 }; 172 const byte kInstruction_rsbs_al_r5_r5_0[] = { 173 0x6d, 0x42 // rsbs al r5 r5 0 174 }; 175 const byte kInstruction_rsbs_al_r5_r6_0[] = { 176 0x75, 0x42 // rsbs al r5 r6 0 177 }; 178 const byte kInstruction_rsbs_al_r5_r7_0[] = { 179 0x7d, 0x42 // rsbs al r5 r7 0 180 }; 181 const byte kInstruction_rsbs_al_r6_r0_0[] = { 182 0x46, 0x42 // rsbs al r6 r0 0 183 }; 184 const byte kInstruction_rsbs_al_r6_r1_0[] = { 185 0x4e, 0x42 // rsbs al r6 r1 0 186 }; 187 const byte kInstruction_rsbs_al_r6_r2_0[] = { 188 0x56, 0x42 // rsbs al r6 r2 0 189 }; 190 const byte kInstruction_rsbs_al_r6_r3_0[] = { 191 0x5e, 0x42 // rsbs al r6 r3 0 192 }; 193 const byte kInstruction_rsbs_al_r6_r4_0[] = { 194 0x66, 0x42 // rsbs al r6 r4 0 195 }; 196 const byte kInstruction_rsbs_al_r6_r5_0[] = { 197 0x6e, 0x42 // rsbs al r6 r5 0 198 }; 199 const byte kInstruction_rsbs_al_r6_r6_0[] = { 200 0x76, 0x42 // rsbs al r6 r6 0 201 }; 202 const byte kInstruction_rsbs_al_r6_r7_0[] = { 203 0x7e, 0x42 // rsbs al r6 r7 0 204 }; 205 const byte kInstruction_rsbs_al_r7_r0_0[] = { 206 0x47, 0x42 // rsbs al r7 r0 0 207 }; 208 const byte kInstruction_rsbs_al_r7_r1_0[] = { 209 0x4f, 0x42 // rsbs al r7 r1 0 210 }; 211 const byte kInstruction_rsbs_al_r7_r2_0[] = { 212 0x57, 0x42 // rsbs al r7 r2 0 213 }; 214 const byte kInstruction_rsbs_al_r7_r3_0[] = { 215 0x5f, 0x42 // rsbs al r7 r3 0 216 }; 217 const byte kInstruction_rsbs_al_r7_r4_0[] = { 218 0x67, 0x42 // rsbs al r7 r4 0 219 }; 220 const byte kInstruction_rsbs_al_r7_r5_0[] = { 221 0x6f, 0x42 // rsbs al r7 r5 0 222 }; 223 const byte kInstruction_rsbs_al_r7_r6_0[] = { 224 0x77, 0x42 // rsbs al r7 r6 0 225 }; 226 const byte kInstruction_rsbs_al_r7_r7_0[] = { 227 0x7f, 0x42 // rsbs al r7 r7 0 228 }; 229 const TestResult kReferencersbs[] = { 230 { 231 ARRAY_SIZE(kInstruction_rsbs_al_r0_r0_0), 232 kInstruction_rsbs_al_r0_r0_0, 233 }, 234 { 235 ARRAY_SIZE(kInstruction_rsbs_al_r0_r1_0), 236 kInstruction_rsbs_al_r0_r1_0, 237 }, 238 { 239 ARRAY_SIZE(kInstruction_rsbs_al_r0_r2_0), 240 kInstruction_rsbs_al_r0_r2_0, 241 }, 242 { 243 ARRAY_SIZE(kInstruction_rsbs_al_r0_r3_0), 244 kInstruction_rsbs_al_r0_r3_0, 245 }, 246 { 247 ARRAY_SIZE(kInstruction_rsbs_al_r0_r4_0), 248 kInstruction_rsbs_al_r0_r4_0, 249 }, 250 { 251 ARRAY_SIZE(kInstruction_rsbs_al_r0_r5_0), 252 kInstruction_rsbs_al_r0_r5_0, 253 }, 254 { 255 ARRAY_SIZE(kInstruction_rsbs_al_r0_r6_0), 256 kInstruction_rsbs_al_r0_r6_0, 257 }, 258 { 259 ARRAY_SIZE(kInstruction_rsbs_al_r0_r7_0), 260 kInstruction_rsbs_al_r0_r7_0, 261 }, 262 { 263 ARRAY_SIZE(kInstruction_rsbs_al_r1_r0_0), 264 kInstruction_rsbs_al_r1_r0_0, 265 }, 266 { 267 ARRAY_SIZE(kInstruction_rsbs_al_r1_r1_0), 268 kInstruction_rsbs_al_r1_r1_0, 269 }, 270 { 271 ARRAY_SIZE(kInstruction_rsbs_al_r1_r2_0), 272 kInstruction_rsbs_al_r1_r2_0, 273 }, 274 { 275 ARRAY_SIZE(kInstruction_rsbs_al_r1_r3_0), 276 kInstruction_rsbs_al_r1_r3_0, 277 }, 278 { 279 ARRAY_SIZE(kInstruction_rsbs_al_r1_r4_0), 280 kInstruction_rsbs_al_r1_r4_0, 281 }, 282 { 283 ARRAY_SIZE(kInstruction_rsbs_al_r1_r5_0), 284 kInstruction_rsbs_al_r1_r5_0, 285 }, 286 { 287 ARRAY_SIZE(kInstruction_rsbs_al_r1_r6_0), 288 kInstruction_rsbs_al_r1_r6_0, 289 }, 290 { 291 ARRAY_SIZE(kInstruction_rsbs_al_r1_r7_0), 292 kInstruction_rsbs_al_r1_r7_0, 293 }, 294 { 295 ARRAY_SIZE(kInstruction_rsbs_al_r2_r0_0), 296 kInstruction_rsbs_al_r2_r0_0, 297 }, 298 { 299 ARRAY_SIZE(kInstruction_rsbs_al_r2_r1_0), 300 kInstruction_rsbs_al_r2_r1_0, 301 }, 302 { 303 ARRAY_SIZE(kInstruction_rsbs_al_r2_r2_0), 304 kInstruction_rsbs_al_r2_r2_0, 305 }, 306 { 307 ARRAY_SIZE(kInstruction_rsbs_al_r2_r3_0), 308 kInstruction_rsbs_al_r2_r3_0, 309 }, 310 { 311 ARRAY_SIZE(kInstruction_rsbs_al_r2_r4_0), 312 kInstruction_rsbs_al_r2_r4_0, 313 }, 314 { 315 ARRAY_SIZE(kInstruction_rsbs_al_r2_r5_0), 316 kInstruction_rsbs_al_r2_r5_0, 317 }, 318 { 319 ARRAY_SIZE(kInstruction_rsbs_al_r2_r6_0), 320 kInstruction_rsbs_al_r2_r6_0, 321 }, 322 { 323 ARRAY_SIZE(kInstruction_rsbs_al_r2_r7_0), 324 kInstruction_rsbs_al_r2_r7_0, 325 }, 326 { 327 ARRAY_SIZE(kInstruction_rsbs_al_r3_r0_0), 328 kInstruction_rsbs_al_r3_r0_0, 329 }, 330 { 331 ARRAY_SIZE(kInstruction_rsbs_al_r3_r1_0), 332 kInstruction_rsbs_al_r3_r1_0, 333 }, 334 { 335 ARRAY_SIZE(kInstruction_rsbs_al_r3_r2_0), 336 kInstruction_rsbs_al_r3_r2_0, 337 }, 338 { 339 ARRAY_SIZE(kInstruction_rsbs_al_r3_r3_0), 340 kInstruction_rsbs_al_r3_r3_0, 341 }, 342 { 343 ARRAY_SIZE(kInstruction_rsbs_al_r3_r4_0), 344 kInstruction_rsbs_al_r3_r4_0, 345 }, 346 { 347 ARRAY_SIZE(kInstruction_rsbs_al_r3_r5_0), 348 kInstruction_rsbs_al_r3_r5_0, 349 }, 350 { 351 ARRAY_SIZE(kInstruction_rsbs_al_r3_r6_0), 352 kInstruction_rsbs_al_r3_r6_0, 353 }, 354 { 355 ARRAY_SIZE(kInstruction_rsbs_al_r3_r7_0), 356 kInstruction_rsbs_al_r3_r7_0, 357 }, 358 { 359 ARRAY_SIZE(kInstruction_rsbs_al_r4_r0_0), 360 kInstruction_rsbs_al_r4_r0_0, 361 }, 362 { 363 ARRAY_SIZE(kInstruction_rsbs_al_r4_r1_0), 364 kInstruction_rsbs_al_r4_r1_0, 365 }, 366 { 367 ARRAY_SIZE(kInstruction_rsbs_al_r4_r2_0), 368 kInstruction_rsbs_al_r4_r2_0, 369 }, 370 { 371 ARRAY_SIZE(kInstruction_rsbs_al_r4_r3_0), 372 kInstruction_rsbs_al_r4_r3_0, 373 }, 374 { 375 ARRAY_SIZE(kInstruction_rsbs_al_r4_r4_0), 376 kInstruction_rsbs_al_r4_r4_0, 377 }, 378 { 379 ARRAY_SIZE(kInstruction_rsbs_al_r4_r5_0), 380 kInstruction_rsbs_al_r4_r5_0, 381 }, 382 { 383 ARRAY_SIZE(kInstruction_rsbs_al_r4_r6_0), 384 kInstruction_rsbs_al_r4_r6_0, 385 }, 386 { 387 ARRAY_SIZE(kInstruction_rsbs_al_r4_r7_0), 388 kInstruction_rsbs_al_r4_r7_0, 389 }, 390 { 391 ARRAY_SIZE(kInstruction_rsbs_al_r5_r0_0), 392 kInstruction_rsbs_al_r5_r0_0, 393 }, 394 { 395 ARRAY_SIZE(kInstruction_rsbs_al_r5_r1_0), 396 kInstruction_rsbs_al_r5_r1_0, 397 }, 398 { 399 ARRAY_SIZE(kInstruction_rsbs_al_r5_r2_0), 400 kInstruction_rsbs_al_r5_r2_0, 401 }, 402 { 403 ARRAY_SIZE(kInstruction_rsbs_al_r5_r3_0), 404 kInstruction_rsbs_al_r5_r3_0, 405 }, 406 { 407 ARRAY_SIZE(kInstruction_rsbs_al_r5_r4_0), 408 kInstruction_rsbs_al_r5_r4_0, 409 }, 410 { 411 ARRAY_SIZE(kInstruction_rsbs_al_r5_r5_0), 412 kInstruction_rsbs_al_r5_r5_0, 413 }, 414 { 415 ARRAY_SIZE(kInstruction_rsbs_al_r5_r6_0), 416 kInstruction_rsbs_al_r5_r6_0, 417 }, 418 { 419 ARRAY_SIZE(kInstruction_rsbs_al_r5_r7_0), 420 kInstruction_rsbs_al_r5_r7_0, 421 }, 422 { 423 ARRAY_SIZE(kInstruction_rsbs_al_r6_r0_0), 424 kInstruction_rsbs_al_r6_r0_0, 425 }, 426 { 427 ARRAY_SIZE(kInstruction_rsbs_al_r6_r1_0), 428 kInstruction_rsbs_al_r6_r1_0, 429 }, 430 { 431 ARRAY_SIZE(kInstruction_rsbs_al_r6_r2_0), 432 kInstruction_rsbs_al_r6_r2_0, 433 }, 434 { 435 ARRAY_SIZE(kInstruction_rsbs_al_r6_r3_0), 436 kInstruction_rsbs_al_r6_r3_0, 437 }, 438 { 439 ARRAY_SIZE(kInstruction_rsbs_al_r6_r4_0), 440 kInstruction_rsbs_al_r6_r4_0, 441 }, 442 { 443 ARRAY_SIZE(kInstruction_rsbs_al_r6_r5_0), 444 kInstruction_rsbs_al_r6_r5_0, 445 }, 446 { 447 ARRAY_SIZE(kInstruction_rsbs_al_r6_r6_0), 448 kInstruction_rsbs_al_r6_r6_0, 449 }, 450 { 451 ARRAY_SIZE(kInstruction_rsbs_al_r6_r7_0), 452 kInstruction_rsbs_al_r6_r7_0, 453 }, 454 { 455 ARRAY_SIZE(kInstruction_rsbs_al_r7_r0_0), 456 kInstruction_rsbs_al_r7_r0_0, 457 }, 458 { 459 ARRAY_SIZE(kInstruction_rsbs_al_r7_r1_0), 460 kInstruction_rsbs_al_r7_r1_0, 461 }, 462 { 463 ARRAY_SIZE(kInstruction_rsbs_al_r7_r2_0), 464 kInstruction_rsbs_al_r7_r2_0, 465 }, 466 { 467 ARRAY_SIZE(kInstruction_rsbs_al_r7_r3_0), 468 kInstruction_rsbs_al_r7_r3_0, 469 }, 470 { 471 ARRAY_SIZE(kInstruction_rsbs_al_r7_r4_0), 472 kInstruction_rsbs_al_r7_r4_0, 473 }, 474 { 475 ARRAY_SIZE(kInstruction_rsbs_al_r7_r5_0), 476 kInstruction_rsbs_al_r7_r5_0, 477 }, 478 { 479 ARRAY_SIZE(kInstruction_rsbs_al_r7_r6_0), 480 kInstruction_rsbs_al_r7_r6_0, 481 }, 482 { 483 ARRAY_SIZE(kInstruction_rsbs_al_r7_r7_0), 484 kInstruction_rsbs_al_r7_r7_0, 485 }, 486 }; 487 488 #endif // VIXL_ASSEMBLER_COND_RDLOW_RNLOW_OPERAND_IMMEDIATE_T32_ZERO_RSBS_H_ 489