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

Side by Side Diff: src/mips64/assembler-mips64.h

Issue 1119203003: MIPS: Add float instructions and test coverage, part one (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 void movt(Register rd, Register rs, uint16_t cc = 0); 880 void movt(Register rd, Register rs, uint16_t cc = 0);
881 void movf(Register rd, Register rs, uint16_t cc = 0); 881 void movf(Register rd, Register rs, uint16_t cc = 0);
882 882
883 void sel(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft); 883 void sel(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
884 void seleqz(Register rd, Register rs, Register rt); 884 void seleqz(Register rd, Register rs, Register rt);
885 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister fs, 885 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister fs,
886 FPURegister ft); 886 FPURegister ft);
887 void selnez(Register rs, Register rt, Register rd); 887 void selnez(Register rs, Register rt, Register rd);
888 void selnez(SecondaryField fmt, FPURegister fd, FPURegister fs, 888 void selnez(SecondaryField fmt, FPURegister fd, FPURegister fs,
889 FPURegister ft); 889 FPURegister ft);
890 void movz_s(FPURegister fd, FPURegister fs, Register rt);
891 void movz_d(FPURegister fd, FPURegister fs, Register rt);
892 void movt_s(FPURegister fd, FPURegister fs, uint16_t cc);
893 void movt_d(FPURegister fd, FPURegister fs, uint16_t cc);
894 void movf_s(FPURegister fd, FPURegister fs, uint16_t cc);
895 void movf_d(FPURegister fd, FPURegister fs, uint16_t cc);
896 void movn_s(FPURegister fd, FPURegister fs, Register rt);
897 void movn_d(FPURegister fd, FPURegister fs, Register rt);
890 // Bit twiddling. 898 // Bit twiddling.
891 void clz(Register rd, Register rs); 899 void clz(Register rd, Register rs);
892 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size); 900 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size);
893 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size); 901 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size);
894 void dext_(Register rt, Register rs, uint16_t pos, uint16_t size); 902 void dext_(Register rt, Register rs, uint16_t pos, uint16_t size);
895 903
896 // --------Coprocessor-instructions---------------- 904 // --------Coprocessor-instructions----------------
897 905
898 // Load, store, and move. 906 // Load, store, and move.
899 void lwc1(FPURegister fd, const MemOperand& src); 907 void lwc1(FPURegister fd, const MemOperand& src);
(...skipping 19 matching lines...) Expand all
919 void sub_s(FPURegister fd, FPURegister fs, FPURegister ft); 927 void sub_s(FPURegister fd, FPURegister fs, FPURegister ft);
920 void sub_d(FPURegister fd, FPURegister fs, FPURegister ft); 928 void sub_d(FPURegister fd, FPURegister fs, FPURegister ft);
921 void mul_s(FPURegister fd, FPURegister fs, FPURegister ft); 929 void mul_s(FPURegister fd, FPURegister fs, FPURegister ft);
922 void mul_d(FPURegister fd, FPURegister fs, FPURegister ft); 930 void mul_d(FPURegister fd, FPURegister fs, FPURegister ft);
923 void madd_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft); 931 void madd_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft);
924 void div_s(FPURegister fd, FPURegister fs, FPURegister ft); 932 void div_s(FPURegister fd, FPURegister fs, FPURegister ft);
925 void div_d(FPURegister fd, FPURegister fs, FPURegister ft); 933 void div_d(FPURegister fd, FPURegister fs, FPURegister ft);
926 void abs_s(FPURegister fd, FPURegister fs); 934 void abs_s(FPURegister fd, FPURegister fs);
927 void abs_d(FPURegister fd, FPURegister fs); 935 void abs_d(FPURegister fd, FPURegister fs);
928 void mov_d(FPURegister fd, FPURegister fs); 936 void mov_d(FPURegister fd, FPURegister fs);
937 void mov_s(FPURegister fd, FPURegister fs);
929 void neg_s(FPURegister fd, FPURegister fs); 938 void neg_s(FPURegister fd, FPURegister fs);
930 void neg_d(FPURegister fd, FPURegister fs); 939 void neg_d(FPURegister fd, FPURegister fs);
931 void sqrt_s(FPURegister fd, FPURegister fs); 940 void sqrt_s(FPURegister fd, FPURegister fs);
932 void sqrt_d(FPURegister fd, FPURegister fs); 941 void sqrt_d(FPURegister fd, FPURegister fs);
942 void rsqrt_s(FPURegister fd, FPURegister fs);
943 void rsqrt_d(FPURegister fd, FPURegister fs);
944 void recip_d(FPURegister fd, FPURegister fs);
945 void recip_s(FPURegister fd, FPURegister fs);
933 946
934 // Conversion. 947 // Conversion.
935 void cvt_w_s(FPURegister fd, FPURegister fs); 948 void cvt_w_s(FPURegister fd, FPURegister fs);
936 void cvt_w_d(FPURegister fd, FPURegister fs); 949 void cvt_w_d(FPURegister fd, FPURegister fs);
937 void trunc_w_s(FPURegister fd, FPURegister fs); 950 void trunc_w_s(FPURegister fd, FPURegister fs);
938 void trunc_w_d(FPURegister fd, FPURegister fs); 951 void trunc_w_d(FPURegister fd, FPURegister fs);
939 void round_w_s(FPURegister fd, FPURegister fs); 952 void round_w_s(FPURegister fd, FPURegister fs);
940 void round_w_d(FPURegister fd, FPURegister fs); 953 void round_w_d(FPURegister fd, FPURegister fs);
941 void floor_w_s(FPURegister fd, FPURegister fs); 954 void floor_w_s(FPURegister fd, FPURegister fs);
942 void floor_w_d(FPURegister fd, FPURegister fs); 955 void floor_w_d(FPURegister fd, FPURegister fs);
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 class EnsureSpace BASE_EMBEDDED { 1462 class EnsureSpace BASE_EMBEDDED {
1450 public: 1463 public:
1451 explicit EnsureSpace(Assembler* assembler) { 1464 explicit EnsureSpace(Assembler* assembler) {
1452 assembler->CheckBuffer(); 1465 assembler->CheckBuffer();
1453 } 1466 }
1454 }; 1467 };
1455 1468
1456 } } // namespace v8::internal 1469 } } // namespace v8::internal
1457 1470
1458 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1471 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698