2 /* { dg-do compile } */
3 /* { dg-options "-O2 -masm=att" } */
4 /* { dg-additional-options "-mregparm=3" { target ia32 } } */
5 /* { dg-final { scan-assembler-not "mov\[sz\]bl" } } */
16 test_plus (struct S a
, struct S b
, char *c
)
23 /* { dg-final { scan-assembler "\[ \t\]addb" } } */
26 test_minus (struct S a
, struct S b
, char *c
)
33 /* { dg-final { scan-assembler "\[ \t\]subb" } } */
36 test_and (struct S a
, struct S b
, char *c
)
43 /* { dg-final { scan-assembler "\[ \t\]andb" } } */
46 test_or (struct S a
, struct S b
, char *c
)
53 /* { dg-final { scan-assembler "\[ \t\]orb" } } */
56 test_xor (struct S a
, struct S b
, char *c
)
63 /* { dg-final { scan-assembler "\[ \t\]xorb" } } */