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

Side by Side Diff: src/mips/assembler-mips.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 | « no previous file | src/mips/assembler-mips.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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 void sltu(Register rd, Register rs, Register rt); 845 void sltu(Register rd, Register rs, Register rt);
846 void slti(Register rd, Register rs, int32_t j); 846 void slti(Register rd, Register rs, int32_t j);
847 void sltiu(Register rd, Register rs, int32_t j); 847 void sltiu(Register rd, Register rs, int32_t j);
848 848
849 // Conditional move. 849 // Conditional move.
850 void movz(Register rd, Register rs, Register rt); 850 void movz(Register rd, Register rs, Register rt);
851 void movn(Register rd, Register rs, Register rt); 851 void movn(Register rd, Register rs, Register rt);
852 void movt(Register rd, Register rs, uint16_t cc = 0); 852 void movt(Register rd, Register rs, uint16_t cc = 0);
853 void movf(Register rd, Register rs, uint16_t cc = 0); 853 void movf(Register rd, Register rs, uint16_t cc = 0);
854 854
855 void sel(SecondaryField fmt, FPURegister fd, FPURegister ft, 855 void sel(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
856 FPURegister fs, uint8_t sel); 856 void seleqz(Register rd, Register rs, Register rt);
857 void seleqz(Register rs, Register rt, Register rd); 857 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister fs,
858 void seleqz(SecondaryField fmt, FPURegister fd, FPURegister ft, 858 FPURegister ft);
859 FPURegister fs); 859 void selnez(Register rd, Register rs, Register rt);
860 void selnez(Register rs, Register rt, Register rd); 860 void selnez(SecondaryField fmt, FPURegister fd, FPURegister fs,
861 void selnez(SecondaryField fmt, FPURegister fd, FPURegister ft, 861 FPURegister ft);
862 FPURegister fs);
863 862
864 // Bit twiddling. 863 // Bit twiddling.
865 void clz(Register rd, Register rs); 864 void clz(Register rd, Register rs);
866 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size); 865 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size);
867 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size); 866 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size);
868 867
869 // --------Coprocessor-instructions---------------- 868 // --------Coprocessor-instructions----------------
870 869
871 // Load, store, and move. 870 // Load, store, and move.
872 void lwc1(FPURegister fd, const MemOperand& src); 871 void lwc1(FPURegister fd, const MemOperand& src);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 void cvt_l_d(FPURegister fd, FPURegister fs); 916 void cvt_l_d(FPURegister fd, FPURegister fs);
918 void trunc_l_s(FPURegister fd, FPURegister fs); 917 void trunc_l_s(FPURegister fd, FPURegister fs);
919 void trunc_l_d(FPURegister fd, FPURegister fs); 918 void trunc_l_d(FPURegister fd, FPURegister fs);
920 void round_l_s(FPURegister fd, FPURegister fs); 919 void round_l_s(FPURegister fd, FPURegister fs);
921 void round_l_d(FPURegister fd, FPURegister fs); 920 void round_l_d(FPURegister fd, FPURegister fs);
922 void floor_l_s(FPURegister fd, FPURegister fs); 921 void floor_l_s(FPURegister fd, FPURegister fs);
923 void floor_l_d(FPURegister fd, FPURegister fs); 922 void floor_l_d(FPURegister fd, FPURegister fs);
924 void ceil_l_s(FPURegister fd, FPURegister fs); 923 void ceil_l_s(FPURegister fd, FPURegister fs);
925 void ceil_l_d(FPURegister fd, FPURegister fs); 924 void ceil_l_d(FPURegister fd, FPURegister fs);
926 925
927 void min(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 926 void min(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
928 void mina(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 927 void mina(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
929 void max(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 928 void max(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
930 void maxa(SecondaryField fmt, FPURegister fd, FPURegister ft, FPURegister fs); 929 void maxa(SecondaryField fmt, FPURegister fd, FPURegister fs, FPURegister ft);
931 930
932 void cvt_s_w(FPURegister fd, FPURegister fs); 931 void cvt_s_w(FPURegister fd, FPURegister fs);
933 void cvt_s_l(FPURegister fd, FPURegister fs); 932 void cvt_s_l(FPURegister fd, FPURegister fs);
934 void cvt_s_d(FPURegister fd, FPURegister fs); 933 void cvt_s_d(FPURegister fd, FPURegister fs);
935 934
936 void cvt_d_w(FPURegister fd, FPURegister fs); 935 void cvt_d_w(FPURegister fd, FPURegister fs);
937 void cvt_d_l(FPURegister fd, FPURegister fs); 936 void cvt_d_l(FPURegister fd, FPURegister fs);
938 void cvt_d_s(FPURegister fd, FPURegister fs); 937 void cvt_d_s(FPURegister fd, FPURegister fs);
939 938
940 // Conditions and branches for MIPSr6. 939 // Conditions and branches for MIPSr6.
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 class EnsureSpace BASE_EMBEDDED { 1402 class EnsureSpace BASE_EMBEDDED {
1404 public: 1403 public:
1405 explicit EnsureSpace(Assembler* assembler) { 1404 explicit EnsureSpace(Assembler* assembler) {
1406 assembler->CheckBuffer(); 1405 assembler->CheckBuffer();
1407 } 1406 }
1408 }; 1407 };
1409 1408
1410 } } // namespace v8::internal 1409 } } // namespace v8::internal
1411 1410
1412 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1411 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698