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

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

Issue 322423003: ARM: add AArch32 support and new vcvt instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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-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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 "e16dc7ff strd ip, [sp, #-127]!"); 897 "e16dc7ff strd ip, [sp, #-127]!");
898 898
899 COMPARE(pld(MemOperand(r1, 0)), 899 COMPARE(pld(MemOperand(r1, 0)),
900 "f5d1f000 pld [r1]"); 900 "f5d1f000 pld [r1]");
901 COMPARE(pld(MemOperand(r2, 128)), 901 COMPARE(pld(MemOperand(r2, 128)),
902 "f5d2f080 pld [r2, #+128]"); 902 "f5d2f080 pld [r2, #+128]");
903 } 903 }
904 904
905 VERIFY_RUN(); 905 VERIFY_RUN();
906 } 906 }
907
908
909 TEST(AArch32) {
910 SET_UP();
911
912 if (CpuFeatures::IsSupported(ARMv8)) {
913 COMPARE(vcvta_s32_f64(s2, d0),
914 "febc1bc0 vcvta.s32.f64 s2, d0");
915 COMPARE(vcvtn_s32_f64(s3, d4),
916 "fefd1bc4 vcvtn.s32.f64 s3, d4");
917 COMPARE(vcvtp_s32_f64(s6, d5),
918 "febe3bc5 vcvtp.s32.f64 s6, d5");
919 COMPARE(vcvtm_s32_f64(s7, d8),
920 "feff3bc8 vcvtm.s32.f64 s7, d8");
921 COMPARE(vcvta_u32_f64(s18, d20),
922 "febc9b64 vcvta.u32.f64 s18, d20");
923 COMPARE(vcvtn_u32_f64(s21, d30),
924 "fefdab6e vcvtn.u32.f64 s21, d30");
925 COMPARE(vcvtp_u32_f64(s22, d31),
926 "febebb6f vcvtp.u32.f64 s22, d31");
927 COMPARE(vcvtm_u32_f64(s31, d31),
928 "fefffb6f vcvtm.u32.f64 s31, d31");
929 }
930
931 VERIFY_RUN();
932 }
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