diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-05 18:26:26 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-05 18:26:26 +0000 |
commit | 1be9edfa826f2c7c7a999ff02defab97d468d277 (patch) | |
tree | 13d24228f222e4379971c255b340c15a0253f256 /gcc | |
parent | 3c085897738b0da9c199eda2476c2563bdbdb292 (diff) | |
download | gcc-1be9edfa826f2c7c7a999ff02defab97d468d277.zip gcc-1be9edfa826f2c7c7a999ff02defab97d468d277.tar.gz gcc-1be9edfa826f2c7c7a999ff02defab97d468d277.tar.bz2 |
VAX: Make the `divmoddisi4' and `*amulsi4' comment notation consistent
Use a double colon to introduce the comments like elsewhere throughout
the VAX machine description.
gcc/
* config/vax/vax.md (divmoddisi4, *amulsi4): Make the comment
notation consistent with the rest of the file.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/vax/vax.md | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index 4b0c26d..1bb4e30 100644 --- a/gcc/config/vax/vax.md +++ b/gcc/config/vax/vax.md @@ -498,17 +498,17 @@ div<VAXint:isfx>2 %2,%0 div<VAXint:isfx>3 %2,%1,%0") -;This is left out because it is very slow; -;we are better off programming around the "lack" of this insn. -;(define_insn "divmoddisi4" -; [(set (match_operand:SI 0 "nonimmediate_operand" "=g") -; (div:SI (match_operand:DI 1 "general_operand" "g") -; (match_operand:SI 2 "general_operand" "g"))) -; (set (match_operand:SI 3 "nonimmediate_operand" "=g") -; (mod:SI (match_dup 1) -; (match_dup 2)))] -; "" -; "ediv %2,%1,%0,%3") +;; This is left out because it is very slow; +;; we are better off programming around the "lack" of this insn. +;;(define_insn "divmoddisi4" +;; [(set (match_operand:SI 0 "nonimmediate_operand" "=g") +;; (div:SI (match_operand:DI 1 "general_operand" "g") +;; (match_operand:SI 2 "general_operand" "g"))) +;; (set (match_operand:SI 3 "nonimmediate_operand" "=g") +;; (mod:SI (match_dup 1) +;; (match_dup 2)))] +;; "" +;; "ediv %2,%1,%0,%3") ;; Bit-and on the VAX is done with a clear-bits insn. (define_expand "and<mode>3" @@ -740,14 +740,14 @@ "" "rotl %2,%1,%0") -;This insn is probably slower than a multiply and an add. -;(define_insn "*amulsi4" -; [(set (match_operand:SI 0 "nonimmediate_operand" "=g") -; (mult:SI (plus:SI (match_operand:SI 1 "general_operand" "g") -; (match_operand:SI 2 "general_operand" "g")) -; (match_operand:SI 3 "general_operand" "g")))] -; "" -; "index %1,$0x80000000,$0x7fffffff,%3,%2,%0") +;; This insn is probably slower than a multiply and an add. +;;(define_insn "*amulsi4" +;; [(set (match_operand:SI 0 "nonimmediate_operand" "=g") +;; (mult:SI (plus:SI (match_operand:SI 1 "general_operand" "g") +;; (match_operand:SI 2 "general_operand" "g")) +;; (match_operand:SI 3 "general_operand" "g")))] +;; "" +;; "index %1,$0x80000000,$0x7fffffff,%3,%2,%0") ;; Special cases of bit-field insns which we should ;; recognize in preference to the general case. |