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

Side by Side Diff: src/arm/macro-assembler-arm.cc

Issue 6142004: ARM: Fix comparison of NaN values.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/arm/macro-assembler-arm.h ('k') | src/arm/simulator-arm.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 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 strd(src1, src2, dst, cond); 512 strd(src1, src2, dst, cond);
513 } else { 513 } else {
514 MemOperand dst2(dst); 514 MemOperand dst2(dst);
515 dst2.set_offset(dst2.offset() + 4); 515 dst2.set_offset(dst2.offset() + 4);
516 str(src1, dst, cond); 516 str(src1, dst, cond);
517 str(src2, dst2, cond); 517 str(src2, dst2, cond);
518 } 518 }
519 } 519 }
520 520
521 521
522 void MacroAssembler::ClearFPSCRBits(uint32_t bits_to_clear, Register scratch) {
523 vmrs(scratch);
524 bic(scratch, scratch, Operand(bits_to_clear));
525 vmsr(scratch);
526 }
527
528
522 void MacroAssembler::EnterFrame(StackFrame::Type type) { 529 void MacroAssembler::EnterFrame(StackFrame::Type type) {
523 // r0-r3: preserved 530 // r0-r3: preserved
524 stm(db_w, sp, cp.bit() | fp.bit() | lr.bit()); 531 stm(db_w, sp, cp.bit() | fp.bit() | lr.bit());
525 mov(ip, Operand(Smi::FromInt(type))); 532 mov(ip, Operand(Smi::FromInt(type)));
526 push(ip); 533 push(ip);
527 mov(ip, Operand(CodeObject())); 534 mov(ip, Operand(CodeObject()));
528 push(ip); 535 push(ip);
529 add(fp, sp, Operand(3 * kPointerSize)); // Adjust FP to point to saved FP. 536 add(fp, sp, Operand(3 * kPointerSize)); // Adjust FP to point to saved FP.
530 } 537 }
531 538
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2145 2152
2146 void CodePatcher::Emit(Address addr) { 2153 void CodePatcher::Emit(Address addr) {
2147 masm()->emit(reinterpret_cast<Instr>(addr)); 2154 masm()->emit(reinterpret_cast<Instr>(addr));
2148 } 2155 }
2149 #endif // ENABLE_DEBUGGER_SUPPORT 2156 #endif // ENABLE_DEBUGGER_SUPPORT
2150 2157
2151 2158
2152 } } // namespace v8::internal 2159 } } // namespace v8::internal
2153 2160
2154 #endif // V8_TARGET_ARCH_ARM 2161 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/arm/simulator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698