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

Side by Side Diff: src/a64/instructions-a64.h

Issue 199083005: A64: Fix a few simulation inaccuracies. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « src/a64/constants-a64.h ('k') | src/a64/simulator-a64.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // This value is a signalling NaN as both a double and as a float (taking the 61 // This value is a signalling NaN as both a double and as a float (taking the
62 // least-significant word). 62 // least-significant word).
63 DEFINE_DOUBLE(kFP64SignallingNaN, 0x7ff000007f800001); 63 DEFINE_DOUBLE(kFP64SignallingNaN, 0x7ff000007f800001);
64 DEFINE_FLOAT(kFP32SignallingNaN, 0x7f800001); 64 DEFINE_FLOAT(kFP32SignallingNaN, 0x7f800001);
65 65
66 // A similar value, but as a quiet NaN. 66 // A similar value, but as a quiet NaN.
67 DEFINE_DOUBLE(kFP64QuietNaN, 0x7ff800007fc00001); 67 DEFINE_DOUBLE(kFP64QuietNaN, 0x7ff800007fc00001);
68 DEFINE_FLOAT(kFP32QuietNaN, 0x7fc00001); 68 DEFINE_FLOAT(kFP32QuietNaN, 0x7fc00001);
69 69
70 // The default NaN values (for FPCR.DN=1).
71 DEFINE_DOUBLE(kFP64DefaultNaN, 0x7ff8000000000000UL);
72 DEFINE_FLOAT(kFP32DefaultNaN, 0x7fc00000);
73
70 #undef DEFINE_FLOAT 74 #undef DEFINE_FLOAT
71 #undef DEFINE_DOUBLE 75 #undef DEFINE_DOUBLE
72 76
73 77
74 enum LSDataSize { 78 enum LSDataSize {
75 LSByte = 0, 79 LSByte = 0,
76 LSHalfword = 1, 80 LSHalfword = 1,
77 LSWord = 2, 81 LSWord = 2,
78 LSDoubleWord = 3 82 LSDoubleWord = 3
79 }; 83 };
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 TRACE_ENABLE = 1 << 6, 511 TRACE_ENABLE = 1 << 6,
508 TRACE_DISABLE = 2 << 6, 512 TRACE_DISABLE = 2 << 6,
509 TRACE_OVERRIDE = 3 << 6 513 TRACE_OVERRIDE = 3 << 6
510 }; 514 };
511 515
512 516
513 } } // namespace v8::internal 517 } } // namespace v8::internal
514 518
515 519
516 #endif // V8_A64_INSTRUCTIONS_A64_H_ 520 #endif // V8_A64_INSTRUCTIONS_A64_H_
OLDNEW
« no previous file with comments | « src/a64/constants-a64.h ('k') | src/a64/simulator-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698