This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how can I write a right V32QI Unpack Low Data insn pattern?
- From: Ian Lance Taylor <iant at google dot com>
- To: Liu <proljc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, hellogcc <hellogcc at freelists dot org>
- Date: Mon, 28 Feb 2011 15:29:14 -0800
- Subject: Re: how can I write a right V32QI Unpack Low Data insn pattern?
- References: <AANLkTin2H0y4LRr6=z+=1+NZuRa1hFBuF6wXg2HivEHt@mail.gmail.com>
Liu <proljc@gmail.com> writes:
> I write a v16hi mode Unpack Low Data insn pattern and it is OK. v8si
> and v4di modes are OK, too.
> But the v32qi mode Unpack Low Data insn pattern get error like:
> ../../gcc-4.5.1/gcc/config/mips/hr.md:509: error: expected identifier
> or â(â before âgotoâ
> ../../gcc-4.5.1/gcc/config/mips/hr.md:511: error: expected â=â, â,â,
> â;â, âasmâ or â__attribute__â before â:â token
> anyone will tell me what's wrong with my code?
Looks like something in a .h file has #define'd something that your .md
file is using. I can't tell what it is from the code fragment here. If
it's not obvious, you are going to have to look at the generated file,
and possibly even the preprocessed version of the generated file.
Ian