Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/m32c/blkmov.md @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 ;; Machine Descriptions for R8C/M16C/M32C | 1 ;; Machine Descriptions for R8C/M16C/M32C |
2 ;; Copyright (C) 2006, 2007, 2010 | 2 ;; Copyright (C) 2006-2017 Free Software Foundation, Inc. |
3 ;; Free Software Foundation, Inc. | |
4 ;; Contributed by Red Hat. | 3 ;; Contributed by Red Hat. |
5 ;; | 4 ;; |
6 ;; This file is part of GCC. | 5 ;; This file is part of GCC. |
7 ;; | 6 ;; |
8 ;; GCC is free software; you can redistribute it and/or modify it | 7 ;; GCC is free software; you can redistribute it and/or modify it |
177 ;; 1 = destination (mem:BLK ...) | 176 ;; 1 = destination (mem:BLK ...) |
178 ;; 2 = source (mem:BLK ...) | 177 ;; 2 = source (mem:BLK ...) |
179 ;; 3 = alignment | 178 ;; 3 = alignment |
180 | 179 |
181 (define_expand "cmpstrsi" | 180 (define_expand "cmpstrsi" |
182 [(match_operand:HI 0 "" "") | 181 [(match_operand:HI 0 "register_operand" "") |
183 (match_operand 1 "ap_operand" "") | 182 (match_operand 1 "memory_operand" "") |
184 (match_operand 2 "ap_operand" "") | 183 (match_operand 2 "memory_operand" "") |
185 (match_operand 3 "" "") | 184 (match_operand 3 "const_int_operand" "") |
186 ] | 185 ] |
187 "TARGET_A24" | 186 "TARGET_A24" |
188 "if (m32c_expand_cmpstr(operands)) DONE; FAIL;" | 187 "if (m32c_expand_cmpstr(operands)) DONE; FAIL;" |
189 ) | 188 ) |
190 | 189 |
213 ;; 1 = destination (mem:BLK ...) | 212 ;; 1 = destination (mem:BLK ...) |
214 ;; 2 = source (mem:BLK ...) | 213 ;; 2 = source (mem:BLK ...) |
215 | 214 |
216 (define_expand "movstr" | 215 (define_expand "movstr" |
217 [(match_operand 0 "m32c_nonimmediate_operand" "") | 216 [(match_operand 0 "m32c_nonimmediate_operand" "") |
218 (match_operand 1 "ap_operand" "") | 217 (match_operand 1 "" "") |
219 (match_operand 2 "ap_operand" "") | 218 (match_operand 2 "" "") |
220 ] | 219 ] |
221 "TARGET_A24" | 220 "TARGET_A24" |
222 "if (m32c_expand_movstr(operands)) DONE; FAIL;" | 221 "if (m32c_expand_movstr(operands)) DONE; FAIL;" |
223 ) | 222 ) |
224 | 223 |