Skip to content

Commit

Permalink
fix dequantize register error (#653)
Browse files Browse the repository at this point in the history
* fix dequantize register error

* fix dequantize register error
  • Loading branch information
karl2015 authored and nihui committed Nov 14, 2018
1 parent 8fda293 commit 201ebb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layer/arm/dequantize_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ int Dequantize_arm::forward_inplace(Mat& bottom_top_blob, const Option& opt) con
"2"(ptr),
"r"(scale), // %6
"r"(bias) // %7
: "cc", "memory", "q0", "q1", "q2", "q4", "q10", "q12"
: "cc", "memory", "q0", "q1", "q2", "q3", "q10", "q12"
);
}
#endif // __aarch64__
Expand Down Expand Up @@ -271,7 +271,7 @@ int Dequantize_arm::forward_inplace(Mat& bottom_top_blob, const Option& opt) con
"1"(intptr),
"2"(ptr),
"r"(scale) // %6
: "cc", "memory", "q0", "q1", "q2", "q4", "q10", "q12"
: "cc", "memory", "q0", "q1", "q2", "q3", "q10", "q12"
);
}
#endif // __aarch64__
Expand Down

0 comments on commit 201ebb8

Please sign in to comment.