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

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

Issue 1321653004: X87: Remove obsolete functionality from the MacroAssemblers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/x87/macro-assembler-x87.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 // Check if the object in register heap_object is a name. Afterwards the 412 // Check if the object in register heap_object is a name. Afterwards the
413 // register map contains the object map and the register instance_type 413 // register map contains the object map and the register instance_type
414 // contains the instance_type. The registers map and instance_type can be the 414 // contains the instance_type. The registers map and instance_type can be the
415 // same in which case it contains the instance type afterwards. Either of the 415 // same in which case it contains the instance type afterwards. Either of the
416 // registers map and instance_type can be the same as heap_object. 416 // registers map and instance_type can be the same as heap_object.
417 Condition IsObjectNameType(Register heap_object, 417 Condition IsObjectNameType(Register heap_object,
418 Register map, 418 Register map,
419 Register instance_type); 419 Register instance_type);
420 420
421 // Check if a heap object's type is in the JSObject range, not including
422 // JSFunction. The object's map will be loaded in the map register.
423 // Any or all of the three registers may be the same.
424 // The contents of the scratch register will always be overwritten.
425 void IsObjectJSObjectType(Register heap_object,
426 Register map,
427 Register scratch,
428 Label* fail);
429
430 // The contents of the scratch register will be overwritten.
431 void IsInstanceJSObjectType(Register map, Register scratch, Label* fail);
432
433 // FCmp is similar to integer cmp, but requires unsigned 421 // FCmp is similar to integer cmp, but requires unsigned
434 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 422 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
435 void FCmp(); 423 void FCmp();
436 void FXamMinusZero(); 424 void FXamMinusZero();
437 void FXamSign(); 425 void FXamSign();
438 void X87CheckIA(); 426 void X87CheckIA();
439 void X87SetRC(int rc); 427 void X87SetRC(int rc);
440 void X87SetFPUCW(int cw); 428 void X87SetFPUCW(int cw);
441 429
442 void ClampUint8(Register reg); 430 void ClampUint8(Register reg);
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 } \ 1049 } \
1062 masm-> 1050 masm->
1063 #else 1051 #else
1064 #define ACCESS_MASM(masm) masm-> 1052 #define ACCESS_MASM(masm) masm->
1065 #endif 1053 #endif
1066 1054
1067 1055
1068 } } // namespace v8::internal 1056 } } // namespace v8::internal
1069 1057
1070 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1058 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698