Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: src/x64/disasm-x64.cc

Issue 149403003: A64: Synchronize with r19234. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/deoptimizer-x64.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 case 0xE8: mnem = "fld1"; break; 927 case 0xE8: mnem = "fld1"; break;
928 case 0xEB: mnem = "fldpi"; break; 928 case 0xEB: mnem = "fldpi"; break;
929 case 0xED: mnem = "fldln2"; break; 929 case 0xED: mnem = "fldln2"; break;
930 case 0xEE: mnem = "fldz"; break; 930 case 0xEE: mnem = "fldz"; break;
931 case 0xF0: mnem = "f2xm1"; break; 931 case 0xF0: mnem = "f2xm1"; break;
932 case 0xF1: mnem = "fyl2x"; break; 932 case 0xF1: mnem = "fyl2x"; break;
933 case 0xF2: mnem = "fptan"; break; 933 case 0xF2: mnem = "fptan"; break;
934 case 0xF5: mnem = "fprem1"; break; 934 case 0xF5: mnem = "fprem1"; break;
935 case 0xF7: mnem = "fincstp"; break; 935 case 0xF7: mnem = "fincstp"; break;
936 case 0xF8: mnem = "fprem"; break; 936 case 0xF8: mnem = "fprem"; break;
937 case 0xFC: mnem = "frndint"; break;
937 case 0xFD: mnem = "fscale"; break; 938 case 0xFD: mnem = "fscale"; break;
938 case 0xFE: mnem = "fsin"; break; 939 case 0xFE: mnem = "fsin"; break;
939 case 0xFF: mnem = "fcos"; break; 940 case 0xFF: mnem = "fcos"; break;
940 default: UnimplementedInstruction(); 941 default: UnimplementedInstruction();
941 } 942 }
942 } 943 }
943 break; 944 break;
944 945
945 case 0xDA: 946 case 0xDA:
946 if (modrm_byte == 0xE9) { 947 if (modrm_byte == 0xE9) {
947 mnem = "fucompp"; 948 mnem = "fucompp";
948 } else { 949 } else {
949 UnimplementedInstruction(); 950 UnimplementedInstruction();
950 } 951 }
951 break; 952 break;
952 953
953 case 0xDB: 954 case 0xDB:
954 if ((modrm_byte & 0xF8) == 0xE8) { 955 if ((modrm_byte & 0xF8) == 0xE8) {
955 mnem = "fucomi"; 956 mnem = "fucomi";
956 has_register = true; 957 has_register = true;
957 } else if (modrm_byte == 0xE2) { 958 } else if (modrm_byte == 0xE2) {
958 mnem = "fclex"; 959 mnem = "fclex";
960 } else if (modrm_byte == 0xE3) {
961 mnem = "fninit";
959 } else { 962 } else {
960 UnimplementedInstruction(); 963 UnimplementedInstruction();
961 } 964 }
962 break; 965 break;
963 966
964 case 0xDC: 967 case 0xDC:
965 has_register = true; 968 has_register = true;
966 switch (modrm_byte & 0xF8) { 969 switch (modrm_byte & 0xF8) {
967 case 0xC0: mnem = "fadd"; break; 970 case 0xC0: mnem = "fadd"; break;
968 case 0xE8: mnem = "fsub"; break; 971 case 0xE8: mnem = "fsub"; break;
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1919 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1917 fprintf(f, " "); 1920 fprintf(f, " ");
1918 } 1921 }
1919 fprintf(f, " %s\n", buffer.start()); 1922 fprintf(f, " %s\n", buffer.start());
1920 } 1923 }
1921 } 1924 }
1922 1925
1923 } // namespace disasm 1926 } // namespace disasm
1924 1927
1925 #endif // V8_TARGET_ARCH_X64 1928 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/deoptimizer-x64.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698