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

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

Issue 1057323002: MIPS: Major fixes and clean-up in asm. for instruction encoding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Typos addressed. Created 5 years, 8 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 | « src/mips/simulator-mips.cc ('k') | src/mips64/assembler-mips64.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 (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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 void sltu(Register rd, Register rs, Register rt); 875 void sltu(Register rd, Register rs, Register rt);
876 void slti(Register rd, Register rs, int32_t j); 876 void slti(Register rd, Register rs, int32_t j);
877 void sltiu(Register rd, Register rs, int32_t j); 877 void sltiu(Register rd, Register rs, int32_t j);
878 878
879 // Conditional move. 879 // Conditional move.
880 void movz(Register rd, Register rs, Register rt); 880 void movz(Register rd, Register rs, Register rt);
881 void movn(Register rd, Register rs, Register rt); 881 void movn(Register rd, Register rs, Register rt);
882 void movt(Register rd, Register rs, uint16_t cc = 0); 882 void movt(Register rd, Register rs, uint16_t cc = 0);
883 void movf(Register rd, Register rs, uint16_t cc = 0); 883 void movf(Register rd, Register rs, uint16_t cc = 0);
884 884
885 void sel(SecondaryField fmt, FPURegister fd, FPURegister ft, 885 void sel(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
886 FPURegister fs, uint8_t sel); 886 void seleqz(Register rd, Register rs, Register rt);
887 void seleqz(Register rs, Register rt, Register rd); 887 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister fs,
888 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister ft, 888 FPURegister ft);
889 FPURegister fs);
890 void selnez(Register rs, Register rt, Register rd); 889 void selnez(Register rs, Register rt, Register rd);
891 void selnez(SecondaryField fmt, FPURegister fd, FPURegister ft, 890 void selnez(SecondaryField fmt, FPURegister fd, FPURegister fs,
892 FPURegister fs); 891 FPURegister ft);
893
894 // Bit twiddling. 892 // Bit twiddling.
895 void clz(Register rd, Register rs); 893 void clz(Register rd, Register rs);
896 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size); 894 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size);
897 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size); 895 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size);
898 void dext_(Register rt, Register rs, uint16_t pos, uint16_t size); 896 void dext_(Register rt, Register rs, uint16_t pos, uint16_t size);
899 897
900 // --------Coprocessor-instructions---------------- 898 // --------Coprocessor-instructions----------------
901 899
902 // Load, store, and move. 900 // Load, store, and move.
903 void lwc1(FPURegister fd, const MemOperand& src); 901 void lwc1(FPURegister fd, const MemOperand& src);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 void cvt_l_d(FPURegister fd, FPURegister fs); 948 void cvt_l_d(FPURegister fd, FPURegister fs);
951 void trunc_l_s(FPURegister fd, FPURegister fs); 949 void trunc_l_s(FPURegister fd, FPURegister fs);
952 void trunc_l_d(FPURegister fd, FPURegister fs); 950 void trunc_l_d(FPURegister fd, FPURegister fs);
953 void round_l_s(FPURegister fd, FPURegister fs); 951 void round_l_s(FPURegister fd, FPURegister fs);
954 void round_l_d(FPURegister fd, FPURegister fs); 952 void round_l_d(FPURegister fd, FPURegister fs);
955 void floor_l_s(FPURegister fd, FPURegister fs); 953 void floor_l_s(FPURegister fd, FPURegister fs);
956 void floor_l_d(FPURegister fd, FPURegister fs); 954 void floor_l_d(FPURegister fd, FPURegister fs);
957 void ceil_l_s(FPURegister fd, FPURegister fs); 955 void ceil_l_s(FPURegister fd, FPURegister fs);
958 void ceil_l_d(FPURegister fd, FPURegister fs); 956 void ceil_l_d(FPURegister fd, FPURegister fs);
959 957
960 void min(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 958 void min(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
961 void mina(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 959 void mina(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
962 void max(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 960 void max(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
963 void maxa(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 961 void maxa(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
964 962
965 void cvt_s_w(FPURegister fd, FPURegister fs); 963 void cvt_s_w(FPURegister fd, FPURegister fs);
966 void cvt_s_l(FPURegister fd, FPURegister fs); 964 void cvt_s_l(FPURegister fd, FPURegister fs);
967 void cvt_s_d(FPURegister fd, FPURegister fs); 965 void cvt_s_d(FPURegister fd, FPURegister fs);
968 966
969 void cvt_d_w(FPURegister fd, FPURegister fs); 967 void cvt_d_w(FPURegister fd, FPURegister fs);
970 void cvt_d_l(FPURegister fd, FPURegister fs); 968 void cvt_d_l(FPURegister fd, FPURegister fs);
971 void cvt_d_s(FPURegister fd, FPURegister fs); 969 void cvt_d_s(FPURegister fd, FPURegister fs);
972 970
973 // Conditions and branches for MIPSr6. 971 // Conditions and branches for MIPSr6.
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 class EnsureSpace BASE_EMBEDDED { 1438 class EnsureSpace BASE_EMBEDDED {
1441 public: 1439 public:
1442 explicit EnsureSpace(Assembler* assembler) { 1440 explicit EnsureSpace(Assembler* assembler) {
1443 assembler->CheckBuffer(); 1441 assembler->CheckBuffer();
1444 } 1442 }
1445 }; 1443 };
1446 1444
1447 } } // namespace v8::internal 1445 } } // namespace v8::internal
1448 1446
1449 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1447 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698