aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c8
-rw-r--r--target-arm/neon_helper.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 3f7a01d236..d6a5f33ff5 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1908,7 +1908,7 @@ void cpu_arm_set_cp_io(CPUARMState *env, int cpnum,
/* Signed saturating arithmetic. */
-/* Perform 16-bit signed satruating addition. */
+/* Perform 16-bit signed saturating addition. */
static inline uint16_t add16_sat(uint16_t a, uint16_t b)
{
uint16_t res;
@@ -1923,7 +1923,7 @@ static inline uint16_t add16_sat(uint16_t a, uint16_t b)
return res;
}
-/* Perform 8-bit signed satruating addition. */
+/* Perform 8-bit signed saturating addition. */
static inline uint8_t add8_sat(uint8_t a, uint8_t b)
{
uint8_t res;
@@ -1938,7 +1938,7 @@ static inline uint8_t add8_sat(uint8_t a, uint8_t b)
return res;
}
-/* Perform 16-bit signed satruating subtraction. */
+/* Perform 16-bit signed saturating subtraction. */
static inline uint16_t sub16_sat(uint16_t a, uint16_t b)
{
uint16_t res;
@@ -1953,7 +1953,7 @@ static inline uint16_t sub16_sat(uint16_t a, uint16_t b)
return res;
}
-/* Perform 8-bit signed satruating subtraction. */
+/* Perform 8-bit signed saturating subtraction. */
static inline uint8_t sub8_sat(uint8_t a, uint8_t b)
{
uint8_t res;
diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c
index edc6e11ee2..4ee5658362 100644
--- a/target-arm/neon_helper.c
+++ b/target-arm/neon_helper.c
@@ -726,7 +726,7 @@ NEON_VOP(mul_u8, neon_u8, 4)
NEON_VOP(mul_u16, neon_u16, 2)
#undef NEON_FN
-/* Polynomial multiplication is like integer multiplcation except the
+/* Polynomial multiplication is like integer multiplication except the
partial products are XORed, not added. */
uint32_t HELPER(neon_mul_p8)(uint32_t op1, uint32_t op2)
{