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 },
95 #--------------------------------------------------#
98 # _ __ _____ __ _ _ __ ___ _ __ ___ #
99 # | '_ \ / _ \ \ /\ / / | | '__| / _ \| '_ \/ __| #
100 # | | | | __/\ V V / | | | | (_) | |_) \__ \ #
101 # |_| |_|\___| \_/\_/ |_|_| \___/| .__/|___/ #
104 #--------------------------------------------------#
108 #-----------------------------------------------------------------#
111 # _ _ __ | |_ ___ __ _ ___ _ __ _ __ ___ __| | ___ ___ #
112 # | | '_ \| __/ _ \/ _` |/ _ \ '__| | '_ \ / _ \ / _` |/ _ \/ __| #
113 # | | | | | || __/ (_| | __/ | | | | | (_) | (_| | __/\__ \ #
114 # |_|_| |_|\__\___|\__, |\___|_| |_| |_|\___/ \__,_|\___||___/ #
117 #-----------------------------------------------------------------#
119 # commutative operations
125 "comment" => "construct Add: Add(a, b) = Add(b, a) = a + b",
127 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
128 "emit" => '. addl %S2, %D1\t\t\t/* Add(%S1, %S2) -> %D1, (%A1, %A2) */'
134 "comment" => "construct Add: Add(a, const) = Add(const, a) = a + const",
136 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
137 "emit" => '. addl %C, %D1\t\t\t/* Add(%C, %S1) -> %D1, (%A1, const) */'
143 "comment" => "construct Mul: Mul(a, b) = Mul(b, a) = a * b",
144 "reg_req" => { "in" => [ "out_d1", "general_purpose" ], "out" => [ "eax" ] },
146 ' if (mode_is_signed(get_irn_mode(n))) {
147 4. imull %S2\t\t\t/* signed Mul(%S1, %S2) -> %D1, (%A1, %A2) */
150 4. mull %S2\t\t\t/* unsigned Mul(%S1, %S2) -> %D1, (%A1, %A2) */
158 "comment" => "construct Mul: Mul(a, const) = Mul(const, a) = a * const",
159 "reg_req" => { "in" => [ "out_d1" ], "out" => [ "eax" ] },
161 ' if (mode_is_signed(get_irn_mode(n))) {
162 4. imull %C\t\t\t/* signed Mul(%C, %S1) -> %D1, (%A1, const) */
165 4. mull %C\t\t\t/* unsigned Mul(%C, %S1) -> %D1, (%A1, const) */
173 "comment" => "construct Mulh: Mulh(a, b) = Mulh(b, a) = get_32_highest_bits(a * b)",
174 "reg_req" => { "in" => [ "out_d1", "general_purpose" ], "out" => [ "edx" ] },
176 ' if (mode_is_signed(get_irn_mode(n))) {
177 4. imull %S2\t\t\t/* signed Mulh(%S1, %S2) -> %D1, (%A1, %A2) */
180 4. mull %S2\t\t\t/* unsigned Mulh(%S1, %S2) -> %D1, (%A1, %A2) */
188 "comment" => "construct Mulh: Mulh(a, const) = Mulh(const, a) = get_32_highest_bits(a * const)",
189 "reg_req" => { "in" => [ "out_d1" ], "out" => [ "edx" ] },
191 ' if (mode_is_signed(get_irn_mode(n))) {
192 4. imull %C\t\t\t/* signed Mulh(%C, %S1) -> %D1, (%A1, const) */
195 4. mull %C\t\t\t/* unsigned Mulh(%C, %S1) -> %D1, (%A1, const) */
204 "comment" => "construct And: And(a, b) = And(b, a) = a AND b",
206 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
207 "emit" => '. andl %S2, %D1\t\t\t/* And(%S1, %S2) -> %D1, (%A1, %A2) */'
213 "comment" => "construct And: And(a, const) = And(const, a) = a AND const",
215 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
216 "emit" => '. andl %C, %D1\t\t\t/* And(%C, %S1) -> %D1, (%A1, const) */'
223 "comment" => "construct Or: Or(a, b) = Or(b, a) = a OR b",
225 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
226 "emit" => '. orl %S2, %D1\t\t\t/* Or(%S1, %S2) -> %D1, (%A1, %A2) */'
232 "comment" => "construct Or: Or(a, const) = Or(const, a) = a OR const",
234 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
235 "emit" => '. orl %C, %D1\t\t\t/* Or(%C, %S1) -> %D1, (%A1, const) */'
242 "comment" => "construct Eor: Eor(a, b) = Eor(b, a) = a EOR b",
244 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
245 "emit" => '. xorl %S2, %D1\t\t\t/* Xor(%S1, %S2) -> %D1, (%A1, %A2) */'
251 "comment" => "construct Eor: Eor(a, const) = Eor(const, a) = a EOR const",
253 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
254 "emit" => '. xorl %C, %D1\t\t\t/* Xor(%C, %S1) -> %D1, (%A1, const) */'
261 "comment" => "construct Max: Max(a, b) = Max(b, a) = a > b ? a : b",
263 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
265 '2. cmpl %S2, %S1\t\t\t/* prepare Max (%S1 should be %D1), (%A1, %A2) */
266 if (mode_is_signed(get_irn_mode(n))) {
267 4. cmovl %S2, %D1\t\t\t/* %S1 is less %S2 */
270 4. cmovb %S2, %D1\t\t\t/* %S1 is below %S2 */
279 "comment" => "construct Min: Min(a, b) = Min(b, a) = a < b ? a : b",
281 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
283 '2. cmpl %S2, %S1\t\t\t/* prepare Min (%S1 should be %D1), (%A1, %A2) */
284 if (mode_is_signed(get_irn_mode(n))) {
285 2. cmovg %S2, %D1\t\t\t/* %S1 is greater %S2 */
288 2. cmova %S2, %D1\t\t\t/* %S1 is above %S2 */
293 # not commutative operations
298 "comment" => "construct Sub: Sub(a, b) = a - b",
300 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
301 "emit" => '. subl %S2, %D1\t\t\t/* Sub(%S1, %S2) -> %D1, (%A1, %A2) */'
307 "comment" => "construct Sub: Sub(a, const) = a - const",
309 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
310 "emit" => '. subl %C, %D1\t\t\t/* Sub(%S1, %C) -> %D1, (%A1, const) */'
315 "state" => "exc_pinned",
317 "comment" => "construct DivMod: DivMod(a,b) = (a / b, a % b)",
319 ' if (mode_is_signed(get_irn_mode(n))) {
320 4. idivl %S2\t\t\t/* signed Mod(%S1, %S2) -> %D1, (%A2, %A3, %4) */
323 4. divl %S2\t\t\t/* unsigned Mod(%S1, %S2) -> %D1, (%A2, %A3, %A4) */
327 { "type" => "ir_node *", "name" => "dividend" },
328 { "type" => "ir_node *", "name" => "divisor" },
329 { "type" => "ir_node *", "name" => "mem" },
330 { "type" => "divmod_flavour_t", "name" => "dm_flav" }, # flavours (flavour_Div, flavour_Mod, flavour_DivMod)
331 { "type" => "ir_mode *", "name" => "mode" },
338 if (!op_ia32_DivMod) assert(0);
343 if (mode_is_signed(mode)) {
345 /* in signed mode , we need to sign extend the dividend */
346 cltd = new_rd_ia32_Cltd(db, current_ir_graph, block, divisor, mode_T);
347 in[0] = new_rd_Proj(db, current_ir_graph, block, cltd, mode_Is, pn_EAX);
348 in[2] = new_rd_Proj(db, current_ir_graph, block, cltd, mode_Is, pn_EDX);
352 in[2] = new_rd_ia32_Const(db, current_ir_graph, block, mode_Iu);
353 set_ia32_Const_type(in[2], asmop_Const);
354 set_ia32_Immop_tarval(in[2], get_tarval_null(mode_Iu));
357 res = new_ir_node(db, irg, block, op_ia32_DivMod, mode, 4, in);
359 set_ia32_DivMod_flavour(res, dm_flav);
360 set_ia32_n_res(res, 2);
362 attr = get_ia32_attr(res);
364 attr->in_req = calloc(4, sizeof(arch_register_req_t *));
365 attr->in_req[0] = &ia32_default_req_ia32_general_purpose_eax;
366 attr->in_req[1] = &ia32_default_req_ia32_general_purpose;
367 attr->in_req[2] = &ia32_default_req_ia32_general_purpose_edx;
368 attr->in_req[3] = &ia32_default_req_none;
370 attr->out_req = calloc(2, sizeof(arch_register_req_t *));
371 attr->out_req[0] = &ia32_default_req_ia32_general_purpose_eax;
372 attr->out_req[1] = &ia32_default_req_ia32_general_purpose_edx;
374 attr->slots = calloc(2, sizeof(arch_register_t *));
383 "comment" => "construct Shl: Shl(a, b) = a << b",
385 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
386 "emit" => '. shll %S2, %D1\t\t\t/* Shl(%S1, %S2) -> %D1, (%A1, %A2) */'
392 "comment" => "construct Shl: Shl(a, const) = a << const",
394 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
395 "emit" => '. shll %C, %D1\t\t\t/* Shl(%S1, %C) -> %D1, (%A1, const) */'
401 "comment" => "construct Shr: Shr(a, b) = a >> b",
403 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
404 "emit" => '. shrl %S2, %D1\t\t\t/* Shr(%S1, %S2) -> %D1, (%A1, %A2) */'
410 "comment" => "construct Shr: Shr(a, const) = a >> const",
412 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
413 "emit" => '. shrl %C, %D1\t\t\t/* Shr(%S1, %C) -> %D1, (%A1, const) */'
419 "comment" => "construct Shrs: Shrs(a, b) = a >> b",
421 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
422 "emit" => '. sarl %S2, %D1\t\t\t/* Shrs(%S1, %S2) -> %D1, (%A1, %A2) */'
428 "comment" => "construct Shrs: Shrs(a, const) = a >> const",
430 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
431 "emit" => '. sarl %C, %D1\t\t\t/* Shrs(%S1, %C) -> %D1, (%A1, const) */'
437 "comment" => "construct RotR: RotR(a, b) = a ROTR b",
439 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
440 "emit" => '. rorl %S2, %D1\t\t\t/* RotR(%S1, %S2) -> %D1, (%A1, %A2) */'
446 "comment" => "construct RotL: RotL(a, b) = a ROTL b",
448 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "in_s1" ] },
449 "emit" => '. roll %S2, %D1\t\t\t/* RotL(%S1, %S2) -> %D1, (%A1, %A2) */'
455 "comment" => "construct RotL: RotL(a, const) = a ROTL const",
457 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
458 "emit" => '. roll %C, %D1\t\t\t/* RotL(%S1, %C) -> %D1, (%A1, const) */'
464 "comment" => "construct Minus: Minus(a) = -a",
466 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
467 "emit" => '. negl %D1\t\t\t/* Neg(%S1) -> %D1, (%A1) */'
473 "comment" => "construct Increment: Inc(a) = a++",
475 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
476 "emit" => '. incl %D1\t\t\t/* Inc(%S1) -> %D1, (%A1) */'
482 "comment" => "construct Decrement: Dec(a) = a--",
484 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
485 "emit" => '. decl %D1\t\t\t/* Dec(%S1) -> %D1, (%A1) */'
491 "comment" => "construct Not: Not(a) = !a",
493 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
494 "emit" => '. notl %D1\t\t\t/* Not(%S1) -> %D1, (%A1) */'
501 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
502 "comment" => "construct Conv: Conv(a) = (conv)a"
506 "op_flags" => "C|L|X|Y",
508 "comment" => "construct conditional jump: CMP A, B && JMPxx LABEL",
509 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "none", "none" ] },
513 "op_flags" => "L|X|Y",
515 "comment" => "construct conditional jump: CMP A, const && JMPxx LABEL",
516 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "none", "none" ] },
520 "op_flags" => "L|X|Y",
522 "comment" => "construct switch",
523 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "none" ] },
530 "comment" => "represents an integer constant",
531 "reg_req" => { "out" => [ "general_purpose" ] },
532 "emit" => '. movl %C, %D1\t\t\t/* Mov Const into register */',
535 if (attr_a->tp == attr_b->tp) {
536 if (attr_a->tp == asmop_SymConst) {
537 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
540 return strcmp(get_sc_name(attr_a->old_ir), get_sc_name(attr_b->old_ir));
543 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
546 if (tarval_cmp(attr_a->tv, attr_b->tv) == pn_Cmp_Eq)
560 "comment" => "construct Cltd: sign extend EAX -> EDX:EAX",
561 "reg_req" => { "in" => [ "out_d1" ], "out" => [ "eax", "edx" ] },
562 "emit" => '. cltd\t\t\t/* sign extend EAX -> EDX:EAX, (%A1) */'
569 "state" => "exc_pinned",
572 "comment" => "construct Load: Load(ptr, mem) = LD ptr -> reg",
573 "reg_req" => { "in" => [ "general_purpose", "none" ], "out" => [ "general_purpose" ] },
574 "emit" => '. movl (%S1), %D1\t\t\t/* Load((%S1)) -> %D1, (%A1) */'
579 "state" => "exc_pinned",
582 "comment" => "construct Store: Store(ptr, val, mem) = ST ptr,val",
583 "reg_req" => { "in" => [ "general_purpose", "general_purpose", "none" ] },
584 "emit" => '. movl %S2, (%S1)\t\t\t/* Store(%S2) -> (%S1), (%A1, %A2) */'
589 "comment" => "construct Lea: Lea(a,b) = lea offs(a,b,const) | res = a + b * const + offs with const = 0,1,2,4,8",
590 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "general_purpose" ] },
591 "emit" => '. leal %O(%S1, %S2, %C), %D1\t\t/* %D1 = %S1 + %S2 << %C + %O, (%A1, %A2) */'
596 "comment" => "construct Lea: Lea(a) = lea offs(a) | res = a + offs",
597 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "general_purpose" ] },
598 "emit" => '. leal %C(%S1), %D1\t\t\t/* %D1 = %S1 + %C, (%A1)*/'
603 "comment" => "constructs a Register Parameter to cover parameters passed in register",
604 "reg_req" => { "in" => [ "none" ], "out" => [ "none" ] },
607 return (attr_a->pn_code != attr_b->pn_code);
613 "comment" => "constructs a Stack Parameter to retrieve a parameter from Stack",
614 "reg_req" => { "in" => [ "none" ], "out" => [ "general_purpose" ] },
617 return (attr_a->pn_code != attr_b->pn_code);
623 "comment" => "constructs a Stack Argument to pass an argument on Stack",
624 "reg_req" => { "in" => [ "none", "general_purpose" ], "out" => [ "none" ] },
627 return (attr_a->pn_code != attr_b->pn_code);
631 #--------------------------------------------------------#
634 # | |_| | ___ __ _| |_ _ __ ___ __| | ___ ___ #
635 # | _| |/ _ \ / _` | __| | '_ \ / _ \ / _` |/ _ \/ __| #
636 # | | | | (_) | (_| | |_ | | | | (_) | (_| | __/\__ \ #
637 # |_| |_|\___/ \__,_|\__| |_| |_|\___/ \__,_|\___||___/ #
638 #--------------------------------------------------------#
640 # commutative operations
647 "comment" => "construct SSE Add: Add(a, b) = Add(b, a) = a + b",
648 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
649 "emit" => '. add%M %S2, %D1\t\t\t/* SSE Add(%S1, %S2) -> %D1 */'
656 "comment" => "construct SSE Mul: Mul(a, b) = Mul(b, a) = a * b",
657 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
658 "emit" =>'. muls%M %S2, %D1\t\t\t/* SSE Mul(%S1, %S2) -> %D1 */'
666 "comment" => "construct SSE Max: Max(a, b) = Max(b, a) = a > b ? a : b",
667 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
668 "emit" =>'. maxs%M %S2, %D1\t\t\t/* SSE Max(%S1, %S2) -> %D1 */'
676 "comment" => "construct SSE Min: Min(a, b) = Min(b, a) = a < b ? a : b",
677 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
678 "emit" =>'. mins%M %S2, %D1\t\t\t/* SSE Min(%S1, %S2) -> %D1 */'
681 # not commutative operations
687 "comment" => "construct SSE Sub: Sub(a, b) = a - b",
688 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
689 "emit" => '. subs%M %S2, %D1\t\t\t/* SSE Sub(%S1, %S2) -> %D1 */'
696 "comment" => "construct SSE Div: Div(a, b) = a / b",
697 "reg_req" => { "in" => [ "floating_point", "floating_point" ], "out" => [ "in_s1" ] },
698 "emit" => '. divs%M %S2, %D1\t\t\t/* SSE Div(%S1, %S2) -> %D1 */'
705 "comment" => "construct SSE Minus: Minus(a) = -a",
706 "reg_req" => { "in" => [ "floating_point" ], "out" => [ "in_s1" ] },
707 "emit" => '. xorp%M c %D1\t\t\t/* SSE Minus(%S1) -> %D1 */'
714 "reg_req" => { "in" => [ "general_purpose" ], "out" => [ "in_s1" ] },
715 "comment" => "construct Conv: Conv(a) = (conv)a"
719 "op_flags" => "C|L|X|Y",
721 "comment" => "construct conditional jump: CMP A, B && JMPxx LABEL",
722 "reg_req" => { "in" => [ "general_purpose", "general_purpose" ], "out" => [ "none", "none" ] },
729 "comment" => "represents a SSE constant",
730 "reg_req" => { "out" => [ "floating_point" ] },
731 "emit" => '. mov%M %C, %D1\t\t\t/* Mov fConst into register */',
734 if (attr_a->tp == attr_b->tp) {
735 if (attr_a->tp == asmop_SymConst) {
736 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
739 return strcmp(get_sc_name(attr_a->old_ir), get_sc_name(attr_b->old_ir));
742 if (attr_a->old_ir == NULL || attr_b->old_ir == NULL)
745 if (tarval_cmp(attr_a->tv, attr_b->tv) == pn_Cmp_Eq)
760 "state" => "exc_pinned",
763 "comment" => "construct SSE Load: Load(ptr, mem) = LD ptr",
764 "reg_req" => { "in" => [ "general_purpose", "none" ], "out" => [ "floating_point" ] },
765 "emit" => '. movl (%S1), %D1\t\t\t/* Load((%S1)) -> %D1 */'
770 "state" => "exc_pinned",
773 "comment" => "construct Store: Store(ptr, val, mem) = ST ptr,val",
774 "reg_req" => { "in" => [ "general_purpose", "floating_point", "none" ] },
775 "emit" => '. movl %S2, (%S1)\t\t\t/* Store(%S2) -> (%S1), (%A1, %A2) */'
780 "comment" => "constructs a Stack Parameter to retrieve a SSE parameter from Stack",
781 "reg_req" => { "in" => [ "none" ], "out" => [ "floating_point" ] },
784 return (attr_a->pn_code != attr_b->pn_code);
790 "comment" => "constructs a Stack Argument to pass an argument on Stack",
791 "reg_req" => { "in" => [ "none", "floating_point" ], "out" => [ "none" ] },
794 return (attr_a->pn_code != attr_b->pn_code);
802 "state" => "mem_pinned",
803 "arity" => "variable",
805 "comment" => "construct Call: Call(...)",
807 { "type" => "int", "name" => "n" },
808 { "type" => "ir_node **", "name" => "in" }
811 " if (!op_ia32_Call) assert(0);
812 return new_ir_node(db, irg, block, op_ia32_Call, mode_T, n, in);