3 # This is the specification for the ia32 assembler Firm-operations
5 # the cpu architecture (ia32, ia64, mips, sparc, ppc, ...)
9 # The node description is done as a perl hash initializer with the
10 # following structure:
15 # "op_flags" => "N|L|C|X|I|F|Y|H|c",
16 # "arity" => "0|1|2|3|variable|dynamic|all",
17 # "state" => "floats|pinned",
19 # { "type" => "type 1", "name" => "name 1" },
20 # { "type" => "type 2", "name" => "name 2" },
23 # "comment" => "any comment for constructor",
24 # "rd_constructor" => "c source code which constructs an ir_node"
27 # ... # (all nodes you need to describe)
29 # ); # close the %nodes initializer
31 # the op_flags correspond to the firm irop_flags:
34 # C irop_flag_commutative
35 # X irop_flag_cfopcode
36 # I irop_flag_ip_cfopcode
39 # H irop_flag_highlevel
40 # c irop_flag_constlike
42 # op_flags: flags for the operation, OPTIONAL (default is "N")
44 # state: state of the operation, OPTIONAL (default is "pinned")
46 # arity: arity of the operation, MUST NOT BE OMITTED
48 # args: the OPTIONAL arguments of the node constructor (debug, irg and block
49 # are always the first 3 arguments and are always autmatically
51 # If this key is missing the following arguments will be created:
52 # for i = 1 .. arity: ir_node *op_i
55 # comment: OPTIONAL comment for the node constructor
57 # rd_constructor: for every operation there will be a
58 # new_rd_<arch>_<op-name> function with the arguments from above
59 # which creates the ir_node corresponding to the defined operation
60 # you can either put the complete source code of this function here
62 # This key is OPTIONAL. If omitted, the following constructor will
64 # if (!op_<arch>_<op-name>) assert(0);
68 # res = new_ir_node(db, irg, block, op_<arch>_<op-name>, mode, arity, in)
71 # NOTE: rd_constructor and args are only optional if and only if arity is 0,1,2 or 3
74 "general_purpose" => [
75 { "name" => "eax", "type" => 0 },
76 { "name" => "ebx", "type" => 0 },
77 { "name" => "ecx", "type" => 0 },
78 { "name" => "edx", "type" => 0 },
79 { "name" => "edi", "type" => 0 },
80 { "name" => "esi", "type" => 0 },
81 { "name" => "ebp", "type" => 0 }
84 { "name" => "xmm0", "type" => 0 },
85 { "name" => "xmm1", "type" => 0 },
86 { "name" => "xmm2", "type" => 0 },
87 { "name" => "xmm3", "type" => 0 },
88 { "name" => "xmm4", "type" => 0 },
89 { "name" => "xmm5", "type" => 0 },
90 { "name" => "xmm6", "type" => 0 },
91 { "name" => "xmm7", "type" => 0 },
94 { "name" => "eflags", "type" => 0 }
98 #--------------------------------------------------#
101 # _ __ _____ __ _ _ __ ___ _ __ ___ #
102 # | '_ \ / _ \ \ /\ / / | | '__| / _ \| '_ \/ __| #
103 # | | | | __/\ V V / | | | | (_) | |_) \__ \ #
104 # |_| |_|\___| \_/\_/ |_|_| \___/| .__/|___/ #
107 #--------------------------------------------------#
111 #-----------------------------------------------------------------#
114 # _ _ __ | |_ ___ __ _ ___ _ __ _ __ ___ __| | ___ ___ #
115 # | | '_ \| __/ _ \/ _` |/ _ \ '__| | '_ \ / _ \ / _` |/ _ \/ __| #
116 # | | | | | || __/ (_| | __/ | | | | | (_) | (_| | __/\__ \ #
117 # |_|_| |_|\__\___|\__, |\___|_| |_| |_|\___/ \__,_|\___||___/ #
120 #-----------------------------------------------------------------#
122 # commutative operations
128 "comment" => "construct Add: Add(a, b) = Add(b, a) = a + b",
130 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
131 "emit" => '. addl %s2, %d1\t\t\t/* Add(%s1, %s2) -> %d1, (%a1, %a2) */'
137 "comment" => "construct Add: Add(a, const) = Add(const, a) = a + const",
139 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
140 "emit" => '. addl %c, %d1\t\t\t/* Add(%c, %s1) -> %d1, (%a1, const) */'
146 "comment" => "construct Mul: Mul(a, b) = Mul(b, a) = a * b",
147 "reg_req" => { "in" => [ "eax", "general_purpose" ], "out" => [ "eax" ] },
149 ' if (mode_is_signed(get_irn_mode(n))) {
150 4. imull %s2\t\t\t/* signed Mul(%s1, %s2) -> %d1, (%a1, %a2) */
153 4. mull %s2\t\t\t/* unsigned Mul(%s1, %s2) -> %d1, (%a1, %a2) */
161 "comment" => "construct Mul: Mul(a, const) = Mul(const, a) = a * const",
162 "reg_req" => { "in" => [ "eax" ], "out" => [ "eax" ] },
164 ' if (mode_is_signed(get_irn_mode(n))) {
165 4. imull %c\t\t\t/* signed Mul(%c, %s1) -> %d1, (%a1, const) */
168 4. mull %c\t\t\t/* unsigned Mul(%c, %s1) -> %d1, (%a1, const) */
176 "comment" => "construct Mulh: Mulh(a, b) = Mulh(b, a) = get_32_highest_bits(a * b)",
177 "reg_req" => { "in" => [ "eax", "general_purpose" ], "out" => [ "edx" ] },
179 ' if (mode_is_signed(get_irn_mode(n))) {
180 4. imull %s2\t\t\t/* signed Mulh(%s1, %s2) -> %d1, (%a1, %a2) */
183 4. mull %s2\t\t\t/* unsigned Mulh(%s1, %s2) -> %d1, (%a1, %a2) */
191 "comment" => "construct Mulh: Mulh(a, const) = Mulh(const, a) = get_32_highest_bits(a * const)",
192 "reg_req" => { "in" => [ "eax" ], "out" => [ "edx" ] },
194 ' if (mode_is_signed(get_irn_mode(n))) {
195 4. imull %c\t\t\t/* signed Mulh(%c, %s1) -> %d1, (%a1, const) */
198 4. mull %c\t\t\t/* unsigned Mulh(%c, %s1) -> %d1, (%a1, const) */
207 "comment" => "construct And: And(a, b) = And(b, a) = a AND b",
209 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
210 "emit" => '. andl %s2, %d1\t\t\t/* And(%s1, %s2) -> %d1, (%a1, %a2) */'
216 "comment" => "construct And: And(a, const) = And(const, a) = a AND const",
218 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
219 "emit" => '. andl %c, %d1\t\t\t/* And(%c, %s1) -> %d1, (%a1, const) */'
226 "comment" => "construct Or: Or(a, b) = Or(b, a) = a OR b",
228 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
229 "emit" => '. orl %s2, %d1\t\t\t/* Or(%s1, %s2) -> %d1, (%a1, %a2) */'
235 "comment" => "construct Or: Or(a, const) = Or(const, a) = a OR const",
237 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
238 "emit" => '. orl %c, %d1\t\t\t/* Or(%c, %s1) -> %d1, (%a1, const) */'
245 "comment" => "construct Eor: Eor(a, b) = Eor(b, a) = a EOR b",
247 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
248 "emit" => '. xorl %s2, %d1\t\t\t/* Xor(%s1, %s2) -> %d1, (%a1, %a2) */'
254 "comment" => "construct Eor: Eor(a, const) = Eor(const, a) = a EOR const",
256 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
257 "emit" => '. xorl %c, %d1\t\t\t/* Xor(%c, %s1) -> %d1, (%a1, const) */'
264 "comment" => "construct Max: Max(a, b) = Max(b, a) = a > b ? a : b",
266 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
268 '2. cmpl %s2, %s1\t\t\t/* prepare Max (%s1 should be %d1), (%a1, %a2) */
269 if (mode_is_signed(get_irn_mode(n))) {
270 4. cmovl %s2, %d1\t\t\t/* %s1 is less %s2 */
273 4. cmovb %s2, %d1\t\t\t/* %s1 is below %s2 */
282 "comment" => "construct Min: Min(a, b) = Min(b, a) = a < b ? a : b",
284 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
286 '2. cmpl %s2, %s1\t\t\t/* prepare Min (%s1 should be %d1), (%a1, %a2) */
287 if (mode_is_signed(get_irn_mode(n))) {
288 2. cmovg %s2, %d1\t\t\t/* %s1 is greater %s2 */
291 2. cmova %s2, %d1\t\t\t/* %s1 is above %s2 */
296 # not commutative operations
301 "comment" => "construct Sub: Sub(a, b) = a - b",
303 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
304 "emit" => '. subl %s2, %d1\t\t\t/* Sub(%s1, %s2) -> %d1, (%a1, %a2) */'
310 "comment" => "construct Sub: Sub(a, const) = a - const",
312 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
313 "emit" => '. subl %c, %d1\t\t\t/* Sub(%s1, %c) -> %d1, (%a1, const) */'
318 "state" => "exc_pinned",
320 "comment" => "construct DivMod: DivMod(a,b) = (a / b, a % b)",
322 ' if (mode_is_signed(get_irn_mode(n))) {
323 4. idivl %s2\t\t\t/* signed Mod(%s1, %s2) -> %d1, (%a2, %a3, %4) */
326 4. divl %s2\t\t\t/* unsigned Mod(%s1, %s2) -> %d1, (%a2, %a3, %a4) */
330 { "type" => "ir_node *", "name" => "dividend" },
331 { "type" => "ir_node *", "name" => "divisor" },
332 { "type" => "ir_node *", "name" => "mem" },
333 { "type" => "divmod_flavour_t", "name" => "dm_flav" }, # flavours (flavour_Div, flavour_Mod, flavour_DivMod)
334 { "type" => "ir_mode *", "name" => "mode" },
341 if (!op_ia32_DivMod) assert(0);
346 if (mode_is_signed(mode)) {
348 /* in signed mode , we need to sign extend the dividend */
349 cltd = new_rd_ia32_Cltd(db, current_ir_graph, block, divisor, mode_T);
350 in[0] = new_rd_Proj(db, current_ir_graph, block, cltd, mode_Is, pn_EAX);
351 in[2] = new_rd_Proj(db, current_ir_graph, block, cltd, mode_Is, pn_EDX);
355 in[2] = new_rd_ia32_Const(db, current_ir_graph, block, mode_Iu);
356 set_ia32_Const_type(in[2], asmop_Const);
357 set_ia32_Immop_tarval(in[2], get_tarval_null(mode_Iu));
360 res = new_ir_node(db, irg, block, op_ia32_DivMod, mode, 4, in);
362 set_ia32_DivMod_flavour(res, dm_flav);
363 set_ia32_n_res(res, 2);
365 attr = get_ia32_attr(res);
367 attr->in_req = calloc(4, sizeof(arch_register_req_t *));
368 attr->in_req[0] = &ia32_default_req_ia32_general_purpose_eax;
369 attr->in_req[1] = &ia32_default_req_ia32_general_purpose;
370 attr->in_req[2] = &ia32_default_req_ia32_general_purpose_edx;
371 attr->in_req[3] = &ia32_default_req_none;
373 attr->out_req = calloc(2, sizeof(arch_register_req_t *));
374 attr->out_req[0] = &ia32_default_req_ia32_general_purpose_eax;
375 attr->out_req[1] = &ia32_default_req_ia32_general_purpose_edx;
377 attr->slots = calloc(2, sizeof(arch_register_t *));
386 "comment" => "construct Shl: Shl(a, b) = a << b",
388 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
389 "emit" => '. shll %s2, %d1\t\t\t/* Shl(%s1, %s2) -> %d1, (%a1, %a2) */'
395 "comment" => "construct Shl: Shl(a, const) = a << const",
397 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
398 "emit" => '. shll %c, %d1\t\t\t/* Shl(%s1, %c) -> %d1, (%a1, const) */'
404 "comment" => "construct Shr: Shr(a, b) = a >> b",
406 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
407 "emit" => '. shrl %s2, %d1\t\t\t/* Shr(%s1, %s2) -> %d1, (%a1, %a2) */'
413 "comment" => "construct Shr: Shr(a, const) = a >> const",
415 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
416 "emit" => '. shrl %c, %d1\t\t\t/* Shr(%s1, %c) -> %d1, (%a1, const) */'
422 "comment" => "construct Shrs: Shrs(a, b) = a >> b",
424 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
425 "emit" => '. sarl %s2, %d1\t\t\t/* Shrs(%s1, %s2) -> %d1, (%a1, %a2) */'
431 "comment" => "construct Shrs: Shrs(a, const) = a >> const",
433 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
434 "emit" => '. sarl %c, %d1\t\t\t/* Shrs(%s1, %c) -> %d1, (%a1, const) */'
440 "comment" => "construct RotR: RotR(a, b) = a ROTR b",
442 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
443 "emit" => '. rorl %s2, %d1\t\t\t/* RotR(%s1, %s2) -> %d1, (%a1, %a2) */'
449 "comment" => "construct RotL: RotL(a, b) = a ROTL b",
451 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
452 "emit" => '. roll %s2, %d1\t\t\t/* RotL(%s1, %s2) -> %d1, (%a1, %a2) */'
458 "comment" => "construct RotL: RotL(a, const) = a ROTL const",
460 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
461 "emit" => '. roll %c, %d1\t\t\t/* RotL(%s1, %c) -> %d1, (%a1, const) */'
467 "comment" => "construct Minus: Minus(a) = -a",
469 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
470 "emit" => '. negl %d1\t\t\t/* Neg(%s1) -> %d1, (%a1) */'
476 "comment" => "construct Increment: Inc(a) = a++",
478 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
479 "emit" => '. incl %d1\t\t\t/* Inc(%s1) -> %d1, (%a1) */'
485 "comment" => "construct Decrement: Dec(a) = a--",
487 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
488 "emit" => '. decl %d1\t\t\t/* Dec(%s1) -> %d1, (%a1) */'
494 "comment" => "construct Not: Not(a) = !a",
496 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
497 "emit" => '. notl %d1\t\t\t/* Not(%s1) -> %d1, (%a1) */'
504 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
505 "comment" => "construct Conv: Conv(a) = (conv)a"
509 "op_flags" => "C|L|X|Y",
511 "comment" => "construct conditional jump: CMP A, B && JMPxx LABEL",
512 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "none", "flag_register" ] },
516 "op_flags" => "L|X|Y",
518 "comment" => "construct conditional jump: CMP A, const && JMPxx LABEL",
519 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "none", "flag_register" ] },
523 "op_flags" => "L|X|Y",
525 "comment" => "construct switch",
526 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "flag_register" ] },
533 "comment" => "represents an integer constant",
534 "reg_req" => { "out" => [ "general_purpose" ] },
535 "emit" => '. movl %c, %d1\t\t\t/* Mov Const into register */',
538 if (attr_a->tp == attr_b->tp) {
539 if (attr_a->tp == asmop_SymConst) {
540 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
543 return strcmp(get_sc_name(attr_a->old_ir), get_sc_name(attr_b->old_ir));
546 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
549 if (tarval_cmp(attr_a->tv, attr_b->tv) == pn_Cmp_Eq)
563 "comment" => "construct Cltd: sign extend EAX -> EDX:EAX",
564 "reg_req" => { "in" => [ "eax" ], "out" => [ "eax", "edx" ] },
565 "emit" => '. cltd\t\t\t/* sign extend EAX -> EDX:EAX, (%a1) */'
572 "state" => "exc_pinned",
575 "comment" => "construct Load: Load(ptr, mem) = LD ptr -> reg",
576 "reg_req" => { "in" => [ "general_purpose", "none" ], "out" => [ "general_purpose" ] },
577 "emit" => '. movl (%s1), %d1\t\t\t/* Load((%s1)) -> %d1, (%a1) */'
582 "state" => "exc_pinned",
585 "comment" => "construct Store: Store(ptr, val, mem) = ST ptr,val",
586 "reg_req" => { "in" => [ "general_purpose", "general_purpose", "none" ] },
587 "emit" => '. movl %s2, (%s1)\t\t\t/* Store(%s1) -> (%s2), (%a1, %a2) */'
592 "comment" => "construct Lea: Lea(a,b) = lea offs(a,b,const) | res = a + b * const + offs with const = 0,1,2,4,8",
593 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "general_purpose" ] },
594 "emit" => '. leal %o(%s1, %s2, %c), %d1\t\t/* %d1 = %s1 + %s2 << %c + %o, (%a1, %a2) */'
599 "comment" => "construct Lea: Lea(a) = lea offs(a) | res = a + offs",
600 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "general_purpose" ] },
601 "emit" => '. leal %c(%s1), %d1\t\t\t/* %d1 = %s1 + %c, (%a1)*/'
606 "comment" => "constructs a Register Parameter to cover parameters passed in register",
607 "reg_req" => { "in" => [ "none" ], "out" => [ "none" ] },
610 return (attr_a->pn_code != attr_b->pn_code);
616 "comment" => "constructs a Stack Parameter to retrieve a parameter from Stack",
617 "reg_req" => { "in" => [ "none" ], "out" => [ "general_purpose" ] },
620 return (attr_a->pn_code != attr_b->pn_code);
626 "comment" => "constructs a Stack Argument to pass an argument on Stack",
627 "reg_req" => { "in" => [ "none", "general_purpose" ], "out" => [ "none" ] },
630 return (attr_a->pn_code != attr_b->pn_code);
634 #--------------------------------------------------------#
637 # | |_| | ___ __ _| |_ _ __ ___ __| | ___ ___ #
638 # | _| |/ _ \ / _` | __| | '_ \ / _ \ / _` |/ _ \/ __| #
639 # | | | | (_) | (_| | |_ | | | | (_) | (_| | __/\__ \ #
640 # |_| |_|\___/ \__,_|\__| |_| |_|\___/ \__,_|\___||___/ #
641 #--------------------------------------------------------#
643 # commutative operations
650 "comment" => "construct SSE Add: Add(a, b) = Add(b, a) = a + b",
651 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
652 "emit" => '. add%m %s2, %d1\t\t\t/* SSE Add(%s1, %s2) -> %d1 */'
659 "comment" => "construct SSE Mul: Mul(a, b) = Mul(b, a) = a * b",
660 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
661 "emit" =>'. muls%m %s2, %d1\t\t\t/* SSE Mul(%s1, %s2) -> %d1 */'
669 "comment" => "construct SSE Max: Max(a, b) = Max(b, a) = a > b ? a : b",
670 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
671 "emit" =>'. maxs%m %s2, %d1\t\t\t/* SSE Max(%s1, %s2) -> %d1 */'
679 "comment" => "construct SSE Min: Min(a, b) = Min(b, a) = a < b ? a : b",
680 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
681 "emit" =>'. mins%m %s2, %d1\t\t\t/* SSE Min(%s1, %s2) -> %d1 */'
684 # not commutative operations
690 "comment" => "construct SSE Sub: Sub(a, b) = a - b",
691 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
692 "emit" => '. subs%m %s2, %d1\t\t\t/* SSE Sub(%s1, %s2) -> %d1 */'
699 "comment" => "construct SSE Div: Div(a, b) = a / b",
700 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
701 "emit" => '. divs%m %s2, %d1\t\t\t/* SSE Div(%s1, %s2) -> %d1 */'
708 "comment" => "construct SSE Minus: Minus(a) = -a",
709 "reg_req" => { "in" => [ "floating_point" ], "out" => [ "in_s1" ] },
710 "emit" => '. xorp%m c %d1\t\t\t/* SSE Minus(%s1) -> %d1 */'
717 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
718 "comment" => "construct Conv: Conv(a) = (conv)a"
722 "op_flags" => "C|L|X|Y",
724 "comment" => "construct conditional jump: CMP A, B && JMPxx LABEL",
725 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "none", "flag_register" ] },
732 "comment" => "represents a SSE constant",
733 "reg_req" => { "out" => [ "floating_point" ] },
734 "emit" => '. mov%m %c, %d1\t\t\t/* Mov fConst into register */',
737 if (attr_a->tp == attr_b->tp) {
738 if (attr_a->tp == asmop_SymConst) {
739 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
742 return strcmp(get_sc_name(attr_a->old_ir), get_sc_name(attr_b->old_ir));
745 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
748 if (tarval_cmp(attr_a->tv, attr_b->tv) == pn_Cmp_Eq)
763 "state" => "exc_pinned",
766 "comment" => "construct SSE Load: Load(ptr, mem) = LD ptr",
767 "reg_req" => { "in" => [ "general_purpose", "none" ], "out" => [ "floating_point" ] },
768 "emit" => '. movl (%s1), %d1\t\t\t/* Load((%s1)) -> %d1 */'
773 "state" => "exc_pinned",
776 "comment" => "construct Store: Store(ptr, val, mem) = ST ptr,val",
777 "reg_req" => { "in" => [ "general_purpose", "floating_point", "none" ] },
778 "emit" => '. movl %s2, (%s1)\t\t\t/* Store(%s2) -> (%s1), (%a1, %a2) */'
783 "comment" => "constructs a Stack Parameter to retrieve a SSE parameter from Stack",
784 "reg_req" => { "in" => [ "none" ], "out" => [ "floating_point" ] },
787 return (attr_a->pn_code != attr_b->pn_code);
793 "comment" => "constructs a Stack Argument to pass an argument on Stack",
794 "reg_req" => { "in" => [ "none", "floating_point" ], "out" => [ "none" ] },
797 return (attr_a->pn_code != attr_b->pn_code);
805 "state" => "mem_pinned",
806 "arity" => "variable",
808 "comment" => "construct Call: Call(...)",
810 { "type" => "int", "name" => "n" },
811 { "type" => "ir_node **", "name" => "in" }
814 " if (!op_ia32_Call) assert(0);
815 return new_ir_node(db, irg, block, op_ia32_Call, mode_T, n, in);