OLD | NEW |
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 3068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3079 __ Claim(xzr, 8); | 3079 __ Claim(xzr, 8); |
3080 __ Drop(xzr, 8); | 3080 __ Drop(xzr, 8); |
3081 __ Claim(xzr, 0); | 3081 __ Claim(xzr, 0); |
3082 __ Drop(xzr, 0); | 3082 __ Drop(xzr, 0); |
3083 __ Claim(x7, 0); | 3083 __ Claim(x7, 0); |
3084 __ Drop(x7, 0); | 3084 __ Drop(x7, 0); |
3085 __ ClaimBySMI(xzr, 8); | 3085 __ ClaimBySMI(xzr, 8); |
3086 __ DropBySMI(xzr, 8); | 3086 __ DropBySMI(xzr, 8); |
3087 __ ClaimBySMI(xzr, 0); | 3087 __ ClaimBySMI(xzr, 0); |
3088 __ DropBySMI(xzr, 0); | 3088 __ DropBySMI(xzr, 0); |
3089 CHECK_NE(0, __ SizeOfCodeGeneratedSince(&start)); | 3089 CHECK_EQ(0, __ SizeOfCodeGeneratedSince(&start)); |
3090 | 3090 |
3091 END(); | 3091 END(); |
3092 | 3092 |
3093 RUN(); | 3093 RUN(); |
3094 | 3094 |
3095 TEARDOWN(); | 3095 TEARDOWN(); |
3096 } | 3096 } |
3097 | 3097 |
3098 | 3098 |
3099 TEST(neg) { | 3099 TEST(neg) { |
(...skipping 6314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9414 AbsHelperX(kXMinInt); | 9414 AbsHelperX(kXMinInt); |
9415 AbsHelperX(kXMaxInt); | 9415 AbsHelperX(kXMaxInt); |
9416 | 9416 |
9417 AbsHelperW(0); | 9417 AbsHelperW(0); |
9418 AbsHelperW(42); | 9418 AbsHelperW(42); |
9419 AbsHelperW(-42); | 9419 AbsHelperW(-42); |
9420 AbsHelperW(kWMinInt); | 9420 AbsHelperW(kWMinInt); |
9421 AbsHelperW(kWMaxInt); | 9421 AbsHelperW(kWMaxInt); |
9422 } | 9422 } |
9423 | 9423 |
OLD | NEW |