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

Side by Side Diff: test/cctest/test-disasm-arm.cc

Issue 2620343002: [ARM] Add vand, vorr NEON instructions. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 | « test/cctest/test-assembler-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 COMPARE(vneg(Neon32, q0, q1), 1018 COMPARE(vneg(Neon32, q0, q1),
1019 "f3b903c2 vneg.s32 q0, q1"); 1019 "f3b903c2 vneg.s32 q0, q1");
1020 COMPARE(veor(d0, d1, d2), 1020 COMPARE(veor(d0, d1, d2),
1021 "f3010112 veor d0, d1, d2"); 1021 "f3010112 veor d0, d1, d2");
1022 COMPARE(veor(d0, d30, d31), 1022 COMPARE(veor(d0, d30, d31),
1023 "f30e01bf veor d0, d30, d31"); 1023 "f30e01bf veor d0, d30, d31");
1024 COMPARE(veor(q0, q1, q2), 1024 COMPARE(veor(q0, q1, q2),
1025 "f3020154 veor q0, q1, q2"); 1025 "f3020154 veor q0, q1, q2");
1026 COMPARE(veor(q15, q0, q8), 1026 COMPARE(veor(q15, q0, q8),
1027 "f340e170 veor q15, q0, q8"); 1027 "f340e170 veor q15, q0, q8");
1028 COMPARE(vand(q15, q0, q8),
1029 "f240e170 vand q15, q0, q8");
1030 COMPARE(vorr(q15, q0, q8),
1031 "f260e170 vorr q15, q0, q8");
1028 COMPARE(vadd(q15, q0, q8), 1032 COMPARE(vadd(q15, q0, q8),
1029 "f240ed60 vadd.f32 q15, q0, q8"); 1033 "f240ed60 vadd.f32 q15, q0, q8");
1030 COMPARE(vadd(Neon8, q0, q1, q2), 1034 COMPARE(vadd(Neon8, q0, q1, q2),
1031 "f2020844 vadd.i8 q0, q1, q2"); 1035 "f2020844 vadd.i8 q0, q1, q2");
1032 COMPARE(vadd(Neon16, q1, q2, q8), 1036 COMPARE(vadd(Neon16, q1, q2, q8),
1033 "f2142860 vadd.i16 q1, q2, q8"); 1037 "f2142860 vadd.i16 q1, q2, q8");
1034 COMPARE(vadd(Neon32, q15, q0, q8), 1038 COMPARE(vadd(Neon32, q15, q0, q8),
1035 "f260e860 vadd.i32 q15, q0, q8"); 1039 "f260e860 vadd.i32 q15, q0, q8");
1036 COMPARE(vsub(q15, q0, q8), 1040 COMPARE(vsub(q15, q0, q8),
1037 "f260ed60 vsub.f32 q15, q0, q8"); 1041 "f260ed60 vsub.f32 q15, q0, q8");
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 1400
1397 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); 1401 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]");
1398 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); 1402 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]");
1399 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); 1403 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]");
1400 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); 1404 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]");
1401 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); 1405 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]");
1402 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); 1406 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]");
1403 1407
1404 VERIFY_RUN(); 1408 VERIFY_RUN();
1405 } 1409 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698