[Consult] tile: How to construct testsuite for tile architecture without hardware.
Mike Stump
mikestump@comcast.net
Fri Jan 30 23:01:00 GMT 2015
On Jan 30, 2015, at 2:58 PM, Chen Gang S <gang.chen@sunrus.com.cn> wrote:
> After finish analyzing the related warnings for tile, for me, they are
> neither tile's issues nor gcc common implementation issues:
? They all look like they can be fixed in the port.
Why not use :P? From i386:
;; This mode iterator allows :P to be used for patterns that operate on
;; pointer-sized quantities. Exactly one of the two alternatives will match.
(define_mode_iterator P [(SI "Pmode == SImode") (DI "Pmode == DImode")])
(define_insn "*tls_global_dynamic_64_<mode>"
[(set (match_operand:P 0 "register_operand" "=a")
(call:P
(mem:QI (match_operand 2 "constant_call_address_operand" "Bz"))
(match_operand 3)))
(unspec:P [(match_operand 1 "tls_symbolic_operand")]
UNSPEC_TLS_GD)]
“TARGET_64BIT"
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2627: warning: operand 0 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2656: warning: operand 0 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2890: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2890: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2986: warning: operand 3 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3030: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3030: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3115: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3115: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3127: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3127: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3140: warning: operand 1 missing mode?
> ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3140: warning: operand 1 missing mode?
More information about the Gcc-help
mailing list