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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM + co. Created 5 years, 7 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
« no previous file with comments | « src/compiler/typer.cc ('k') | src/ia32/interface-descriptors-ia32.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <assert.h> 5 #include <assert.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 get_modrm(*data, &mod, &regop, &rm); 1634 get_modrm(*data, &mod, &regop, &rm);
1635 int8_t imm8 = static_cast<int8_t>(data[1]); 1635 int8_t imm8 = static_cast<int8_t>(data[1]);
1636 AppendToBuffer("roundsd %s,%s,%d", 1636 AppendToBuffer("roundsd %s,%s,%d",
1637 NameOfXMMRegister(regop), 1637 NameOfXMMRegister(regop),
1638 NameOfXMMRegister(rm), 1638 NameOfXMMRegister(rm),
1639 static_cast<int>(imm8)); 1639 static_cast<int>(imm8));
1640 data += 2; 1640 data += 2;
1641 } else if (*data == 0x16) { 1641 } else if (*data == 0x16) {
1642 data++; 1642 data++;
1643 int mod, regop, rm; 1643 int mod, regop, rm;
1644 get_modrm(*data, &mod, &regop, &rm); 1644 get_modrm(*data, &mod, &rm, &regop);
1645 int8_t imm8 = static_cast<int8_t>(data[1]); 1645 int8_t imm8 = static_cast<int8_t>(data[1]);
1646 AppendToBuffer("pextrd %s,%s,%d", 1646 AppendToBuffer("pextrd %s,%s,%d",
1647 NameOfCPURegister(regop), 1647 NameOfCPURegister(regop),
1648 NameOfXMMRegister(rm), 1648 NameOfXMMRegister(rm),
1649 static_cast<int>(imm8)); 1649 static_cast<int>(imm8));
1650 data += 2; 1650 data += 2;
1651 } else if (*data == 0x17) { 1651 } else if (*data == 0x17) {
1652 data++; 1652 data++;
1653 int mod, regop, rm; 1653 int mod, regop, rm;
1654 get_modrm(*data, &mod, &regop, &rm); 1654 get_modrm(*data, &mod, &regop, &rm);
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 fprintf(f, " "); 2252 fprintf(f, " ");
2253 } 2253 }
2254 fprintf(f, " %s\n", buffer.start()); 2254 fprintf(f, " %s\n", buffer.start());
2255 } 2255 }
2256 } 2256 }
2257 2257
2258 2258
2259 } // namespace disasm 2259 } // namespace disasm
2260 2260
2261 #endif // V8_TARGET_ARCH_IA32 2261 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/ia32/interface-descriptors-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698