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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 23130006: MIPS: Never hchange nan-hole to hole or hole to nan-hole. Only allow changing hole to nan if all us… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed nits. Created 7 years, 4 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/mips/lithium-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 if (!dst.is(src)) { 228 if (!dst.is(src)) {
229 mov_d(dst, src); 229 mov_d(dst, src);
230 } 230 }
231 } 231 }
232 232
233 inline void Move(Register dst_low, Register dst_high, FPURegister src) { 233 inline void Move(Register dst_low, Register dst_high, FPURegister src) {
234 mfc1(dst_low, src); 234 mfc1(dst_low, src);
235 mfc1(dst_high, FPURegister::from_code(src.code() + 1)); 235 mfc1(dst_high, FPURegister::from_code(src.code() + 1));
236 } 236 }
237 237
238 inline void FmoveHigh(Register dst_high, FPURegister src) {
239 mfc1(dst_high, FPURegister::from_code(src.code() + 1));
240 }
241
242 inline void FmoveLow(Register dst_low, FPURegister src) {
243 mfc1(dst_low, src);
244 }
245
238 inline void Move(FPURegister dst, Register src_low, Register src_high) { 246 inline void Move(FPURegister dst, Register src_low, Register src_high) {
239 mtc1(src_low, dst); 247 mtc1(src_low, dst);
240 mtc1(src_high, FPURegister::from_code(dst.code() + 1)); 248 mtc1(src_high, FPURegister::from_code(dst.code() + 1));
241 } 249 }
242 250
243 // Conditional move. 251 // Conditional move.
244 void Move(FPURegister dst, double imm); 252 void Move(FPURegister dst, double imm);
245 void Movz(Register rd, Register rs, Register rt); 253 void Movz(Register rd, Register rs, Register rt);
246 void Movn(Register rd, Register rs, Register rt); 254 void Movn(Register rd, Register rs, Register rt);
247 void Movt(Register rd, Register rs, uint16_t cc = 0); 255 void Movt(Register rd, Register rs, uint16_t cc = 0);
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1581 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1574 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1582 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1575 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1583 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1576 #else 1584 #else
1577 #define ACCESS_MASM(masm) masm-> 1585 #define ACCESS_MASM(masm) masm->
1578 #endif 1586 #endif
1579 1587
1580 } } // namespace v8::internal 1588 } } // namespace v8::internal
1581 1589
1582 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1590 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698