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

Side by Side Diff: src/arm/simulator-arm.cc

Issue 6606002: Merge revision 6500-6600 from bleeding_edge to the isolates branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 // vmov register to register. 2440 // vmov register to register.
2441 if (instr->SzValue() == 0x1) { 2441 if (instr->SzValue() == 0x1) {
2442 int m = instr->VFPMRegValue(kDoublePrecision); 2442 int m = instr->VFPMRegValue(kDoublePrecision);
2443 int d = instr->VFPDRegValue(kDoublePrecision); 2443 int d = instr->VFPDRegValue(kDoublePrecision);
2444 set_d_register_from_double(d, get_double_from_d_register(m)); 2444 set_d_register_from_double(d, get_double_from_d_register(m));
2445 } else { 2445 } else {
2446 int m = instr->VFPMRegValue(kSinglePrecision); 2446 int m = instr->VFPMRegValue(kSinglePrecision);
2447 int d = instr->VFPDRegValue(kSinglePrecision); 2447 int d = instr->VFPDRegValue(kSinglePrecision);
2448 set_s_register_from_float(d, get_float_from_s_register(m)); 2448 set_s_register_from_float(d, get_float_from_s_register(m));
2449 } 2449 }
2450 } else if ((instr->Opc2Value() == 0x0) && (instr->Opc3Value() == 0x3)) {
2451 // vabs
2452 double dm_value = get_double_from_d_register(vm);
2453 double dd_value = fabs(dm_value);
2454 set_d_register_from_double(vd, dd_value);
2450 } else if ((instr->Opc2Value() == 0x7) && (instr->Opc3Value() == 0x3)) { 2455 } else if ((instr->Opc2Value() == 0x7) && (instr->Opc3Value() == 0x3)) {
2451 DecodeVCVTBetweenDoubleAndSingle(instr); 2456 DecodeVCVTBetweenDoubleAndSingle(instr);
2452 } else if ((instr->Opc2Value() == 0x8) && (instr->Opc3Value() & 0x1)) { 2457 } else if ((instr->Opc2Value() == 0x8) && (instr->Opc3Value() & 0x1)) {
2453 DecodeVCVTBetweenFloatingPointAndInteger(instr); 2458 DecodeVCVTBetweenFloatingPointAndInteger(instr);
2454 } else if (((instr->Opc2Value() >> 1) == 0x6) && 2459 } else if (((instr->Opc2Value() >> 1) == 0x6) &&
2455 (instr->Opc3Value() & 0x1)) { 2460 (instr->Opc3Value() & 0x1)) {
2456 DecodeVCVTBetweenFloatingPointAndInteger(instr); 2461 DecodeVCVTBetweenFloatingPointAndInteger(instr);
2457 } else if (((instr->Opc2Value() == 0x4) || (instr->Opc2Value() == 0x5)) && 2462 } else if (((instr->Opc2Value() == 0x4) || (instr->Opc2Value() == 0x5)) &&
2458 (instr->Opc3Value() & 0x1)) { 2463 (instr->Opc3Value() & 0x1)) {
2459 DecodeVCMP(instr); 2464 DecodeVCMP(instr);
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
3049 uintptr_t address = *stack_slot; 3054 uintptr_t address = *stack_slot;
3050 set_register(sp, current_sp + sizeof(uintptr_t)); 3055 set_register(sp, current_sp + sizeof(uintptr_t));
3051 return address; 3056 return address;
3052 } 3057 }
3053 3058
3054 } } // namespace v8::internal 3059 } } // namespace v8::internal
3055 3060
3056 #endif // USE_SIMULATOR 3061 #endif // USE_SIMULATOR
3057 3062
3058 #endif // V8_TARGET_ARCH_ARM 3063 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm/stub-cache-arm.cc » ('j') | src/ast.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698