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

Side by Side Diff: test/cctest/test-assembler-a64.cc

Issue 153773002: A64: Synchronize with r16679. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « test/cctest/test-api.cc ('k') | test/cctest/test-assembler-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 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 } 101 }
102 #endif 102 #endif
103 103
104 #define __ masm. 104 #define __ masm.
105 105
106 #define BUF_SIZE 8192 106 #define BUF_SIZE 8192
107 #define SETUP() SETUP_SIZE(BUF_SIZE) 107 #define SETUP() SETUP_SIZE(BUF_SIZE)
108 108
109 #define INIT_V8() \ 109 #define INIT_V8() \
110 v8::HandleScope handle_scope; \
111 CcTest::InitializeVM(); \ 110 CcTest::InitializeVM(); \
112 Isolate* isolate = Isolate::Current(); \ 111 Isolate* isolate = Isolate::Current(); \
112 HandleScope scope(isolate); \
113 ASSERT(isolate != NULL); 113 ASSERT(isolate != NULL);
114 114
115 #ifdef USE_SIMULATOR 115 #ifdef USE_SIMULATOR
116 116
117 // Run tests with the simulator. 117 // Run tests with the simulator.
118 #define SETUP_SIZE(buf_size) \ 118 #define SETUP_SIZE(buf_size) \
119 INIT_V8(); \ 119 INIT_V8(); \
120 byte* buf = new byte[buf_size]; \ 120 byte* buf = new byte[buf_size]; \
121 MacroAssembler masm(isolate, buf, buf_size); \ 121 MacroAssembler masm(isolate, buf, buf_size); \
122 Decoder decoder; \ 122 Decoder decoder; \
(...skipping 9294 matching lines...) Expand 10 before | Expand all | Expand 10 after
9417 AbsHelperX(kXMinInt); 9417 AbsHelperX(kXMinInt);
9418 AbsHelperX(kXMaxInt); 9418 AbsHelperX(kXMaxInt);
9419 9419
9420 AbsHelperW(0); 9420 AbsHelperW(0);
9421 AbsHelperW(42); 9421 AbsHelperW(42);
9422 AbsHelperW(-42); 9422 AbsHelperW(-42);
9423 AbsHelperW(kWMinInt); 9423 AbsHelperW(kWMinInt);
9424 AbsHelperW(kWMaxInt); 9424 AbsHelperW(kWMaxInt);
9425 } 9425 }
9426 9426
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/cctest/test-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698