Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rl78/rl78-virt.md @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 ;; Machine Description for Renesas RL78 processors | 1 ;; Machine Description for Renesas RL78 processors |
2 ;; Copyright (C) 2011-2017 Free Software Foundation, Inc. | 2 ;; Copyright (C) 2011-2018 Free Software Foundation, Inc. |
3 ;; Contributed by Red Hat. | 3 ;; Contributed by Red Hat. |
4 | 4 |
5 ;; This file is part of GCC. | 5 ;; This file is part of GCC. |
6 | 6 |
7 ;; GCC is free software; you can redistribute it and/or modify | 7 ;; GCC is free software; you can redistribute it and/or modify |
60 (define_insn "*movhi_virt" | 60 (define_insn "*movhi_virt" |
61 [(set (match_operand:HI 0 "nonimmediate_operand" "=vS, Y, v, *Wfr") | 61 [(set (match_operand:HI 0 "nonimmediate_operand" "=vS, Y, v, *Wfr") |
62 (match_operand:HI 1 "general_operand" "viYS, viS, *Wfr, vi"))] | 62 (match_operand:HI 1 "general_operand" "viYS, viS, *Wfr, vi"))] |
63 "rl78_virt_insns_ok ()" | 63 "rl78_virt_insns_ok ()" |
64 "v.movw %0, %1" | 64 "v.movw %0, %1" |
65 [(set_attr "valloc" "op1")] | |
66 ) | |
67 | |
68 (define_insn "*bswaphi2_virt" | |
69 [(set (match_operand:HI 0 "rl78_nonfar_nonimm_operand" "=vm") | |
70 (bswap:HI (match_operand:HI 1 "general_operand" "vim")))] | |
71 "rl78_virt_insns_ok ()" | |
72 "v.bswaphi\t%0, %1" | |
65 [(set_attr "valloc" "op1")] | 73 [(set_attr "valloc" "op1")] |
66 ) | 74 ) |
67 | 75 |
68 ;;---------- Conversions ------------------------ | 76 ;;---------- Conversions ------------------------ |
69 | 77 |