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

Unified Diff: src/mips64/assembler-mips64.h

Issue 2801683003: MIPS[64]: Support for some SIMD operations (8) (Closed)
Patch Set: Rebase Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/assembler-mips64.h
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h
index 98e712455eff2572f79cb7341cb141cf43105a68..2312bfbbe2e38a9e478ae127180670205b0dd187 100644
--- a/src/mips64/assembler-mips64.h
+++ b/src/mips64/assembler-mips64.h
@@ -1159,15 +1159,45 @@ class Assembler : public AssemblerBase {
// MSA instructions
void bz_v(MSARegister wt, int16_t offset);
+ inline void bz_v(MSARegister wt, Label* L) {
+ bz_v(wt, shifted_branch_offset(L));
+ }
void bz_b(MSARegister wt, int16_t offset);
+ inline void bz_b(MSARegister wt, Label* L) {
+ bz_b(wt, shifted_branch_offset(L));
+ }
void bz_h(MSARegister wt, int16_t offset);
+ inline void bz_h(MSARegister wt, Label* L) {
+ bz_h(wt, shifted_branch_offset(L));
+ }
void bz_w(MSARegister wt, int16_t offset);
+ inline void bz_w(MSARegister wt, Label* L) {
+ bz_w(wt, shifted_branch_offset(L));
+ }
void bz_d(MSARegister wt, int16_t offset);
+ inline void bz_d(MSARegister wt, Label* L) {
+ bz_d(wt, shifted_branch_offset(L));
+ }
void bnz_v(MSARegister wt, int16_t offset);
+ inline void bnz_v(MSARegister wt, Label* L) {
+ bnz_v(wt, shifted_branch_offset(L));
+ }
void bnz_b(MSARegister wt, int16_t offset);
+ inline void bnz_b(MSARegister wt, Label* L) {
+ bnz_b(wt, shifted_branch_offset(L));
+ }
void bnz_h(MSARegister wt, int16_t offset);
+ inline void bnz_h(MSARegister wt, Label* L) {
+ bnz_h(wt, shifted_branch_offset(L));
+ }
void bnz_w(MSARegister wt, int16_t offset);
+ inline void bnz_w(MSARegister wt, Label* L) {
+ bnz_w(wt, shifted_branch_offset(L));
+ }
void bnz_d(MSARegister wt, int16_t offset);
+ inline void bnz_d(MSARegister wt, Label* L) {
+ bnz_d(wt, shifted_branch_offset(L));
+ }
void ld_b(MSARegister wd, const MemOperand& rs);
void ld_h(MSARegister wd, const MemOperand& rs);
@@ -1827,6 +1857,7 @@ class Assembler : public AssemblerBase {
// Check if an instruction is a branch of some kind.
static bool IsBranch(Instr instr);
+ static bool IsMsaBranch(Instr instr);
static bool IsBc(Instr instr);
static bool IsBzc(Instr instr);
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698