Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- To: "arm-gnu@xxxxxxxxxxxxxxxx" <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- From: Christophe LYON <christophe.lyon@xxxxxx>
- Date: Mon, 08 Jun 2009 16:01:02 +0200
Hello, I am trying to make gas accept the following sample code: mul r3, r0, r3 mul ip, r2, r1 umull r0, r1, r2, r0 add ip, ip, r3 add r1, r1, ip for armv6-m. If I use gas -mthumb -march=armv6-m, I get: toto.s:4: Error: dest must overlap one source register -- `mul ip,r2,r1' toto.s:5: Error: selected processor does not support `umull r0,r1,r2,r0' If I use -march=armv6t2 -mthumb, I get: toto.s:4: Error: dest must overlap one source register -- `mul ip,r2,r1' I guess I am missing something obvious, but what? Thanks, Christophe.
- Follow-Ups:
- Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- From: Daniel Jacobowitz
- Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- Prev by Date: [arm-gnu] Instructions for Compiling ARM Linux Toolchain
- Next by Date: Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- Previous by thread: Re: [arm-gnu] Instructions for Compiling ARM Linux Toolchain
- Next by thread: Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- Index(es):