1 // Do not edit. Bootstrap copy of /Volumes/Android/buildbot/src/android/build-tools/out/obj/go/src/cmd/internal/obj/x86/a.out.go 2 3 //line /Volumes/Android/buildbot/src/android/build-tools/out/obj/go/src/cmd/internal/obj/x86/a.out.go:1 4 // Inferno utils/6c/6.out.h 5 // http://code.google.com/p/inferno-os/source/browse/utils/6c/6.out.h 6 // 7 // Copyright 1994-1999 Lucent Technologies Inc. All rights reserved. 8 // Portions Copyright 1995-1997 C H Forsyth (forsyth (a] terzarima.net) 9 // Portions Copyright 1997-1999 Vita Nuova Limited 10 // Portions Copyright 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com) 11 // Portions Copyright 2004,2006 Bruce Ellis 12 // Portions Copyright 2005-2007 C H Forsyth (forsyth (a] terzarima.net) 13 // Revisions Copyright 2000-2007 Lucent Technologies Inc. and others 14 // Portions Copyright 2009 The Go Authors. All rights reserved. 15 // 16 // Permission is hereby granted, free of charge, to any person obtaining a copy 17 // of this software and associated documentation files (the "Software"), to deal 18 // in the Software without restriction, including without limitation the rights 19 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 20 // copies of the Software, and to permit persons to whom the Software is 21 // furnished to do so, subject to the following conditions: 22 // 23 // The above copyright notice and this permission notice shall be included in 24 // all copies or substantial portions of the Software. 25 // 26 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 27 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 29 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 31 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 32 // THE SOFTWARE. 33 34 package x86 35 36 import "bootstrap/internal/obj" 37 38 //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p x86 39 40 /* 41 * amd64 42 */ 43 const ( 44 AAAA = obj.ABaseAMD64 + obj.A_ARCHSPECIFIC + iota 45 AAAD 46 AAAM 47 AAAS 48 AADCB 49 AADCL 50 AADCW 51 AADDB 52 AADDL 53 AADDW 54 AADJSP 55 AANDB 56 AANDL 57 AANDW 58 AARPL 59 ABOUNDL 60 ABOUNDW 61 ABSFL 62 ABSFW 63 ABSRL 64 ABSRW 65 ABTL 66 ABTW 67 ABTCL 68 ABTCW 69 ABTRL 70 ABTRW 71 ABTSL 72 ABTSW 73 ABYTE 74 ACLC 75 ACLD 76 ACLI 77 ACLTS 78 ACMC 79 ACMPB 80 ACMPL 81 ACMPW 82 ACMPSB 83 ACMPSL 84 ACMPSW 85 ADAA 86 ADAS 87 ADECB 88 ADECL 89 ADECQ 90 ADECW 91 ADIVB 92 ADIVL 93 ADIVW 94 AENTER 95 AHLT 96 AIDIVB 97 AIDIVL 98 AIDIVW 99 AIMULB 100 AIMULL 101 AIMULW 102 AINB 103 AINL 104 AINW 105 AINCB 106 AINCL 107 AINCQ 108 AINCW 109 AINSB 110 AINSL 111 AINSW 112 AINT 113 AINTO 114 AIRETL 115 AIRETW 116 AJCC 117 AJCS 118 AJCXZL 119 AJEQ 120 AJGE 121 AJGT 122 AJHI 123 AJLE 124 AJLS 125 AJLT 126 AJMI 127 AJNE 128 AJOC 129 AJOS 130 AJPC 131 AJPL 132 AJPS 133 ALAHF 134 ALARL 135 ALARW 136 ALEAL 137 ALEAW 138 ALEAVEL 139 ALEAVEW 140 ALOCK 141 ALODSB 142 ALODSL 143 ALODSW 144 ALONG 145 ALOOP 146 ALOOPEQ 147 ALOOPNE 148 ALSLL 149 ALSLW 150 AMOVB 151 AMOVL 152 AMOVW 153 AMOVBLSX 154 AMOVBLZX 155 AMOVBQSX 156 AMOVBQZX 157 AMOVBWSX 158 AMOVBWZX 159 AMOVWLSX 160 AMOVWLZX 161 AMOVWQSX 162 AMOVWQZX 163 AMOVSB 164 AMOVSL 165 AMOVSW 166 AMULB 167 AMULL 168 AMULW 169 ANEGB 170 ANEGL 171 ANEGW 172 ANOTB 173 ANOTL 174 ANOTW 175 AORB 176 AORL 177 AORW 178 AOUTB 179 AOUTL 180 AOUTW 181 AOUTSB 182 AOUTSL 183 AOUTSW 184 APAUSE 185 APOPAL 186 APOPAW 187 APOPFL 188 APOPFW 189 APOPL 190 APOPW 191 APUSHAL 192 APUSHAW 193 APUSHFL 194 APUSHFW 195 APUSHL 196 APUSHW 197 ARCLB 198 ARCLL 199 ARCLW 200 ARCRB 201 ARCRL 202 ARCRW 203 AREP 204 AREPN 205 AROLB 206 AROLL 207 AROLW 208 ARORB 209 ARORL 210 ARORW 211 ASAHF 212 ASALB 213 ASALL 214 ASALW 215 ASARB 216 ASARL 217 ASARW 218 ASBBB 219 ASBBL 220 ASBBW 221 ASCASB 222 ASCASL 223 ASCASW 224 ASETCC 225 ASETCS 226 ASETEQ 227 ASETGE 228 ASETGT 229 ASETHI 230 ASETLE 231 ASETLS 232 ASETLT 233 ASETMI 234 ASETNE 235 ASETOC 236 ASETOS 237 ASETPC 238 ASETPL 239 ASETPS 240 ACDQ 241 ACWD 242 ASHLB 243 ASHLL 244 ASHLW 245 ASHRB 246 ASHRL 247 ASHRW 248 ASTC 249 ASTD 250 ASTI 251 ASTOSB 252 ASTOSL 253 ASTOSW 254 ASUBB 255 ASUBL 256 ASUBW 257 ASYSCALL 258 ATESTB 259 ATESTL 260 ATESTW 261 AVERR 262 AVERW 263 AWAIT 264 AWORD 265 AXCHGB 266 AXCHGL 267 AXCHGW 268 AXLAT 269 AXORB 270 AXORL 271 AXORW 272 273 AFMOVB 274 AFMOVBP 275 AFMOVD 276 AFMOVDP 277 AFMOVF 278 AFMOVFP 279 AFMOVL 280 AFMOVLP 281 AFMOVV 282 AFMOVVP 283 AFMOVW 284 AFMOVWP 285 AFMOVX 286 AFMOVXP 287 288 AFCOMB 289 AFCOMBP 290 AFCOMD 291 AFCOMDP 292 AFCOMDPP 293 AFCOMF 294 AFCOMFP 295 AFCOML 296 AFCOMLP 297 AFCOMW 298 AFCOMWP 299 AFUCOM 300 AFUCOMP 301 AFUCOMPP 302 303 AFADDDP 304 AFADDW 305 AFADDL 306 AFADDF 307 AFADDD 308 309 AFMULDP 310 AFMULW 311 AFMULL 312 AFMULF 313 AFMULD 314 315 AFSUBDP 316 AFSUBW 317 AFSUBL 318 AFSUBF 319 AFSUBD 320 321 AFSUBRDP 322 AFSUBRW 323 AFSUBRL 324 AFSUBRF 325 AFSUBRD 326 327 AFDIVDP 328 AFDIVW 329 AFDIVL 330 AFDIVF 331 AFDIVD 332 333 AFDIVRDP 334 AFDIVRW 335 AFDIVRL 336 AFDIVRF 337 AFDIVRD 338 339 AFXCHD 340 AFFREE 341 342 AFLDCW 343 AFLDENV 344 AFRSTOR 345 AFSAVE 346 AFSTCW 347 AFSTENV 348 AFSTSW 349 350 AF2XM1 351 AFABS 352 AFCHS 353 AFCLEX 354 AFCOS 355 AFDECSTP 356 AFINCSTP 357 AFINIT 358 AFLD1 359 AFLDL2E 360 AFLDL2T 361 AFLDLG2 362 AFLDLN2 363 AFLDPI 364 AFLDZ 365 AFNOP 366 AFPATAN 367 AFPREM 368 AFPREM1 369 AFPTAN 370 AFRNDINT 371 AFSCALE 372 AFSIN 373 AFSINCOS 374 AFSQRT 375 AFTST 376 AFXAM 377 AFXTRACT 378 AFYL2X 379 AFYL2XP1 380 381 // extra 32-bit operations 382 ACMPXCHGB 383 ACMPXCHGL 384 ACMPXCHGW 385 ACMPXCHG8B 386 ACPUID 387 AINVD 388 AINVLPG 389 ALFENCE 390 AMFENCE 391 AMOVNTIL 392 ARDMSR 393 ARDPMC 394 ARDTSC 395 ARSM 396 ASFENCE 397 ASYSRET 398 AWBINVD 399 AWRMSR 400 AXADDB 401 AXADDL 402 AXADDW 403 404 // conditional move 405 ACMOVLCC 406 ACMOVLCS 407 ACMOVLEQ 408 ACMOVLGE 409 ACMOVLGT 410 ACMOVLHI 411 ACMOVLLE 412 ACMOVLLS 413 ACMOVLLT 414 ACMOVLMI 415 ACMOVLNE 416 ACMOVLOC 417 ACMOVLOS 418 ACMOVLPC 419 ACMOVLPL 420 ACMOVLPS 421 ACMOVQCC 422 ACMOVQCS 423 ACMOVQEQ 424 ACMOVQGE 425 ACMOVQGT 426 ACMOVQHI 427 ACMOVQLE 428 ACMOVQLS 429 ACMOVQLT 430 ACMOVQMI 431 ACMOVQNE 432 ACMOVQOC 433 ACMOVQOS 434 ACMOVQPC 435 ACMOVQPL 436 ACMOVQPS 437 ACMOVWCC 438 ACMOVWCS 439 ACMOVWEQ 440 ACMOVWGE 441 ACMOVWGT 442 ACMOVWHI 443 ACMOVWLE 444 ACMOVWLS 445 ACMOVWLT 446 ACMOVWMI 447 ACMOVWNE 448 ACMOVWOC 449 ACMOVWOS 450 ACMOVWPC 451 ACMOVWPL 452 ACMOVWPS 453 454 // 64-bit 455 AADCQ 456 AADDQ 457 AANDQ 458 ABSFQ 459 ABSRQ 460 ABTCQ 461 ABTQ 462 ABTRQ 463 ABTSQ 464 ACMPQ 465 ACMPSQ 466 ACMPXCHGQ 467 ACQO 468 ADIVQ 469 AIDIVQ 470 AIMULQ 471 AIRETQ 472 AJCXZQ 473 ALEAQ 474 ALEAVEQ 475 ALODSQ 476 AMOVQ 477 AMOVLQSX 478 AMOVLQZX 479 AMOVNTIQ 480 AMOVSQ 481 AMULQ 482 ANEGQ 483 ANOTQ 484 AORQ 485 APOPFQ 486 APOPQ 487 APUSHFQ 488 APUSHQ 489 ARCLQ 490 ARCRQ 491 AROLQ 492 ARORQ 493 AQUAD 494 ASALQ 495 ASARQ 496 ASBBQ 497 ASCASQ 498 ASHLQ 499 ASHRQ 500 ASTOSQ 501 ASUBQ 502 ATESTQ 503 AXADDQ 504 AXCHGQ 505 AXORQ 506 507 // media 508 AADDPD 509 AADDPS 510 AADDSD 511 AADDSS 512 AANDNPD 513 AANDNPS 514 AANDPD 515 AANDPS 516 ACMPPD 517 ACMPPS 518 ACMPSD 519 ACMPSS 520 ACOMISD 521 ACOMISS 522 ACVTPD2PL 523 ACVTPD2PS 524 ACVTPL2PD 525 ACVTPL2PS 526 ACVTPS2PD 527 ACVTPS2PL 528 ACVTSD2SL 529 ACVTSD2SQ 530 ACVTSD2SS 531 ACVTSL2SD 532 ACVTSL2SS 533 ACVTSQ2SD 534 ACVTSQ2SS 535 ACVTSS2SD 536 ACVTSS2SL 537 ACVTSS2SQ 538 ACVTTPD2PL 539 ACVTTPS2PL 540 ACVTTSD2SL 541 ACVTTSD2SQ 542 ACVTTSS2SL 543 ACVTTSS2SQ 544 ADIVPD 545 ADIVPS 546 ADIVSD 547 ADIVSS 548 AEMMS 549 AFXRSTOR 550 AFXRSTOR64 551 AFXSAVE 552 AFXSAVE64 553 ALDMXCSR 554 AMASKMOVOU 555 AMASKMOVQ 556 AMAXPD 557 AMAXPS 558 AMAXSD 559 AMAXSS 560 AMINPD 561 AMINPS 562 AMINSD 563 AMINSS 564 AMOVAPD 565 AMOVAPS 566 AMOVOU 567 AMOVHLPS 568 AMOVHPD 569 AMOVHPS 570 AMOVLHPS 571 AMOVLPD 572 AMOVLPS 573 AMOVMSKPD 574 AMOVMSKPS 575 AMOVNTO 576 AMOVNTPD 577 AMOVNTPS 578 AMOVNTQ 579 AMOVO 580 AMOVQOZX 581 AMOVSD 582 AMOVSS 583 AMOVUPD 584 AMOVUPS 585 AMULPD 586 AMULPS 587 AMULSD 588 AMULSS 589 AORPD 590 AORPS 591 APACKSSLW 592 APACKSSWB 593 APACKUSWB 594 APADDB 595 APADDL 596 APADDQ 597 APADDSB 598 APADDSW 599 APADDUSB 600 APADDUSW 601 APADDW 602 APANDB 603 APANDL 604 APANDSB 605 APANDSW 606 APANDUSB 607 APANDUSW 608 APANDW 609 APAND 610 APANDN 611 APAVGB 612 APAVGW 613 APCMPEQB 614 APCMPEQL 615 APCMPEQW 616 APCMPGTB 617 APCMPGTL 618 APCMPGTW 619 APEXTRW 620 APFACC 621 APFADD 622 APFCMPEQ 623 APFCMPGE 624 APFCMPGT 625 APFMAX 626 APFMIN 627 APFMUL 628 APFNACC 629 APFPNACC 630 APFRCP 631 APFRCPIT1 632 APFRCPI2T 633 APFRSQIT1 634 APFRSQRT 635 APFSUB 636 APFSUBR 637 APINSRW 638 APINSRD 639 APINSRQ 640 APMADDWL 641 APMAXSW 642 APMAXUB 643 APMINSW 644 APMINUB 645 APMOVMSKB 646 APMULHRW 647 APMULHUW 648 APMULHW 649 APMULLW 650 APMULULQ 651 APOR 652 APSADBW 653 APSHUFHW 654 APSHUFL 655 APSHUFLW 656 APSHUFW 657 APSHUFB 658 APSLLO 659 APSLLL 660 APSLLQ 661 APSLLW 662 APSRAL 663 APSRAW 664 APSRLO 665 APSRLL 666 APSRLQ 667 APSRLW 668 APSUBB 669 APSUBL 670 APSUBQ 671 APSUBSB 672 APSUBSW 673 APSUBUSB 674 APSUBUSW 675 APSUBW 676 APSWAPL 677 APUNPCKHBW 678 APUNPCKHLQ 679 APUNPCKHQDQ 680 APUNPCKHWL 681 APUNPCKLBW 682 APUNPCKLLQ 683 APUNPCKLQDQ 684 APUNPCKLWL 685 APXOR 686 ARCPPS 687 ARCPSS 688 ARSQRTPS 689 ARSQRTSS 690 ASHUFPD 691 ASHUFPS 692 ASQRTPD 693 ASQRTPS 694 ASQRTSD 695 ASQRTSS 696 ASTMXCSR 697 ASUBPD 698 ASUBPS 699 ASUBSD 700 ASUBSS 701 AUCOMISD 702 AUCOMISS 703 AUNPCKHPD 704 AUNPCKHPS 705 AUNPCKLPD 706 AUNPCKLPS 707 AXORPD 708 AXORPS 709 710 APF2IW 711 APF2IL 712 API2FW 713 API2FL 714 ARETFW 715 ARETFL 716 ARETFQ 717 ASWAPGS 718 719 AMODE 720 ACRC32B 721 ACRC32Q 722 AIMUL3Q 723 724 APREFETCHT0 725 APREFETCHT1 726 APREFETCHT2 727 APREFETCHNTA 728 729 AMOVQL 730 ABSWAPL 731 ABSWAPQ 732 733 AAESENC 734 AAESENCLAST 735 AAESDEC 736 AAESDECLAST 737 AAESIMC 738 AAESKEYGENASSIST 739 740 APSHUFD 741 APCLMULQDQ 742 743 // from 386 744 AJCXZW 745 AFCMOVCC 746 AFCMOVCS 747 AFCMOVEQ 748 AFCMOVHI 749 AFCMOVLS 750 AFCMOVNE 751 AFCMOVNU 752 AFCMOVUN 753 AFCOMI 754 AFCOMIP 755 AFUCOMI 756 AFUCOMIP 757 758 ALAST 759 ) 760 761 const ( 762 REG_NONE = 0 763 ) 764 765 const ( 766 REG_AL = obj.RBaseAMD64 + iota 767 REG_CL 768 REG_DL 769 REG_BL 770 REG_SPB 771 REG_BPB 772 REG_SIB 773 REG_DIB 774 REG_R8B 775 REG_R9B 776 REG_R10B 777 REG_R11B 778 REG_R12B 779 REG_R13B 780 REG_R14B 781 REG_R15B 782 783 REG_AX 784 REG_CX 785 REG_DX 786 REG_BX 787 REG_SP 788 REG_BP 789 REG_SI 790 REG_DI 791 REG_R8 792 REG_R9 793 REG_R10 794 REG_R11 795 REG_R12 796 REG_R13 797 REG_R14 798 REG_R15 799 800 REG_AH 801 REG_CH 802 REG_DH 803 REG_BH 804 805 REG_F0 806 REG_F1 807 REG_F2 808 REG_F3 809 REG_F4 810 REG_F5 811 REG_F6 812 REG_F7 813 814 REG_M0 815 REG_M1 816 REG_M2 817 REG_M3 818 REG_M4 819 REG_M5 820 REG_M6 821 REG_M7 822 823 REG_X0 824 REG_X1 825 REG_X2 826 REG_X3 827 REG_X4 828 REG_X5 829 REG_X6 830 REG_X7 831 REG_X8 832 REG_X9 833 REG_X10 834 REG_X11 835 REG_X12 836 REG_X13 837 REG_X14 838 REG_X15 839 840 REG_CS 841 REG_SS 842 REG_DS 843 REG_ES 844 REG_FS 845 REG_GS 846 847 REG_GDTR /* global descriptor table register */ 848 REG_IDTR /* interrupt descriptor table register */ 849 REG_LDTR /* local descriptor table register */ 850 REG_MSW /* machine status word */ 851 REG_TASK /* task register */ 852 853 REG_CR0 854 REG_CR1 855 REG_CR2 856 REG_CR3 857 REG_CR4 858 REG_CR5 859 REG_CR6 860 REG_CR7 861 REG_CR8 862 REG_CR9 863 REG_CR10 864 REG_CR11 865 REG_CR12 866 REG_CR13 867 REG_CR14 868 REG_CR15 869 870 REG_DR0 871 REG_DR1 872 REG_DR2 873 REG_DR3 874 REG_DR4 875 REG_DR5 876 REG_DR6 877 REG_DR7 878 879 REG_TR0 880 REG_TR1 881 REG_TR2 882 REG_TR3 883 REG_TR4 884 REG_TR5 885 REG_TR6 886 REG_TR7 887 888 REG_TLS 889 890 MAXREG 891 892 REG_CR = REG_CR0 893 REG_DR = REG_DR0 894 REG_TR = REG_TR0 895 896 REGARG = -1 897 REGRET = REG_AX 898 FREGRET = REG_X0 899 REGSP = REG_SP 900 REGTMP = REG_DI 901 REGCTXT = REG_DX 902 REGEXT = REG_R15 /* compiler allocates external registers R15 down */ 903 FREGMIN = REG_X0 + 5 /* first register variable */ 904 FREGEXT = REG_X0 + 15 /* first external register */ 905 T_TYPE = 1 << 0 906 T_INDEX = 1 << 1 907 T_OFFSET = 1 << 2 908 T_FCONST = 1 << 3 909 T_SYM = 1 << 4 910 T_SCONST = 1 << 5 911 T_64 = 1 << 6 912 T_GOTYPE = 1 << 7 913 ) 914