Jack Carter
a9a5c537ad
Mips specific inline asm operand modifier 'D'
...
Modifier 'D' is to use the second word of a double integer.
We had previously implemented the pure register varient of
the modifier and this patch implements the memory reference.
#include "stdio.h"
int b[8] = {0,1,2,3,4,5,6,7};
void main()
{
int i;
// The first word. Notice, no 'D'
{asm (
"lw %0,%1;"
: "=r" (i)
: "m" (*(b+4))
);}
printf("%d\n",i);
// The second word
{asm (
"lw %0,%D1;"
: "=r" (i)
: "m" (*(b+4))
);}
printf("%d\n",i);
}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179135 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-09 23:19:50 +00:00
..
2013-03-22 00:05:30 +00:00
2013-03-30 01:58:00 +00:00
2013-02-05 08:32:10 +00:00
2013-03-22 00:29:10 +00:00
2013-01-02 11:36:10 +00:00
2013-04-09 19:46:01 +00:00
2012-04-17 18:03:21 +00:00
2012-12-19 19:55:47 +00:00
2013-02-21 20:05:00 +00:00
2013-03-29 01:51:04 +00:00
2013-02-14 03:05:25 +00:00
2013-03-29 02:14:12 +00:00
2013-03-29 02:14:12 +00:00
2013-03-30 01:36:35 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-03-14 22:02:09 +00:00
2013-03-13 00:54:29 +00:00
2013-03-29 19:17:42 +00:00
2013-03-29 19:17:42 +00:00
2013-03-30 01:36:35 +00:00
2013-02-27 03:33:58 +00:00
2013-03-05 23:22:30 +00:00
2012-08-24 23:29:28 +00:00
2012-03-09 06:36:45 +00:00
2013-04-09 23:19:50 +00:00
2013-01-18 21:20:38 +00:00
2013-03-05 23:22:30 +00:00
2013-04-02 22:53:58 +00:00
2013-03-01 21:52:08 +00:00
2013-04-09 19:46:01 +00:00
2013-03-25 20:11:16 +00:00
2012-12-20 04:20:09 +00:00
2013-03-30 02:14:45 +00:00
2013-01-02 11:36:10 +00:00
2013-03-29 01:51:04 +00:00
2013-02-07 19:48:00 +00:00
2013-03-30 02:01:48 +00:00
2013-03-01 01:22:26 +00:00
2013-03-29 02:14:12 +00:00
2013-03-30 02:14:45 +00:00
2013-03-14 23:11:07 +00:00
2013-03-14 18:33:23 +00:00
2013-03-30 01:58:00 +00:00
2013-03-30 01:14:04 +00:00
2013-01-02 11:36:10 +00:00
2012-12-03 23:11:12 +00:00
2013-04-09 19:46:01 +00:00
2013-01-30 00:26:49 +00:00
2013-01-30 00:26:49 +00:00
2012-12-03 16:50:05 +00:00
2012-09-27 01:59:07 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-01-31 20:02:54 +00:00
2013-03-29 19:17:42 +00:00
2013-03-29 03:27:21 +00:00
2012-02-28 07:46:26 +00:00
2012-02-28 07:46:26 +00:00
2013-03-30 01:04:11 +00:00
2013-03-29 01:51:04 +00:00
2013-04-02 23:02:07 +00:00
2013-03-29 02:14:12 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-03-30 01:42:24 +00:00
2012-02-17 08:55:11 +00:00
2013-03-29 19:17:42 +00:00
2013-03-29 19:17:42 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-04-09 19:46:01 +00:00
2013-01-18 21:20:38 +00:00
2013-01-18 21:20:38 +00:00