Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
af6ad571
Commit
af6ad571
authored
Jul 15, 2010
by
Matthias Braun
Browse files
fix a few whitespace errors and remove spec cruft
[r27741]
parent
1140301f
Changes
4
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_spec.pl
View file @
af6ad571
...
...
@@ -2,11 +2,6 @@
# $Id$
# This is the specification for the ia32 assembler Firm-operations
use
File::
Basename
;
my
$myname
=
$
0
;
# the cpu architecture (ia32, ia64, mips, sparc, ppc, ...)
$arch
=
"
ia32
";
# The node description is done as a perl hash initializer with the
...
...
ir/be/sparc/sparc_emitter.c
View file @
af6ad571
...
...
@@ -246,7 +246,7 @@ void sparc_emit_fp_load_mode(const ir_node *node)
}
else
if
(
bits
==
64
)
{
be_emit_string
(
"df"
);
}
else
{
panic
(
"FP load mode > 64bits not implemented yet"
);
panic
(
"FP load mode > 64bits not implemented yet"
);
}
}
...
...
@@ -266,7 +266,7 @@ void sparc_emit_fp_store_mode(const ir_node *node)
}
else
if
(
bits
==
64
)
{
be_emit_string
(
"df"
);
}
else
{
panic
(
"FP store mode > 64bits not implemented yet"
);
panic
(
"FP store mode > 64bits not implemented yet"
);
}
}
...
...
@@ -281,9 +281,9 @@ void sparc_emit_fp_mode_suffix(const ir_node *node)
assert
(
mode_is_float
(
mode
));
if
(
bits
==
32
)
{
be_emit_string
(
"s"
);
be_emit_string
(
"s"
);
}
else
if
(
bits
==
64
)
{
be_emit_string
(
"d"
);
be_emit_string
(
"d"
);
}
else
{
panic
(
"FP mode > 64bits not implemented yet"
);
}
...
...
ir/be/sparc/sparc_nodes_attr.h
View file @
af6ad571
...
...
@@ -34,10 +34,10 @@ typedef struct sparc_attr_t sparc_attr_t;
*/
struct
sparc_attr_t
{
except_attr
exc
;
/**< the exception attribute. MUST be the first one. */
const
arch_register_req_t
**
in_req
;
/**< register requirements for arguments */
int
immediate_value
;
/* immediate values */
bool
is_load_store
;
except_attr
exc
;
/**< the exception attribute. MUST be the first one. */
const
arch_register_req_t
**
in_req
;
/**< register requirements for arguments */
int
immediate_value
;
/* immediate values */
bool
is_load_store
;
};
/**
...
...
@@ -45,8 +45,8 @@ struct sparc_attr_t
*/
typedef
struct
sparc_fp_attr_t
sparc_fp_attr_t
;
struct
sparc_fp_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
double
fp_immediate
;
/* the FP immediate value */
sparc_attr_t
base
;
/**< generic attribute */
double
fp_immediate
;
/* the FP immediate value */
};
/**
...
...
@@ -54,8 +54,8 @@ struct sparc_fp_attr_t {
*/
typedef
struct
sparc_save_attr_t
sparc_save_attr_t
;
struct
sparc_save_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
int
initial_stacksize
;
/* the min. stack size required by the sparc ABI */
sparc_attr_t
base
;
/**< generic attribute */
int
initial_stacksize
;
/* the min. stack size required by the sparc ABI */
};
/**
...
...
@@ -63,12 +63,12 @@ struct sparc_save_attr_t {
*/
typedef
struct
sparc_load_store_attr_t
sparc_load_store_attr_t
;
struct
sparc_load_store_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
ir_mode
*
load_store_mode
;
ir_entity
*
entity
;
int
entity_sign
;
long
offset
;
bool
is_frame_entity
;
sparc_attr_t
base
;
/**< generic attribute */
ir_mode
*
load_store_mode
;
ir_entity
*
entity
;
int
entity_sign
;
long
offset
;
bool
is_frame_entity
;
};
/**
...
...
@@ -76,9 +76,9 @@ struct sparc_load_store_attr_t {
*/
typedef
struct
sparc_symconst_attr_t
sparc_symconst_attr_t
;
struct
sparc_symconst_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
ir_entity
*
entity
;
int
fp_offset
;
sparc_attr_t
base
;
/**< generic attribute */
ir_entity
*
entity
;
int
fp_offset
;
};
/**
...
...
@@ -86,8 +86,8 @@ struct sparc_symconst_attr_t {
*/
typedef
struct
sparc_jmp_cond_attr_t
sparc_jmp_cond_attr_t
;
struct
sparc_jmp_cond_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
int
proj_num
;
sparc_attr_t
base
;
/**< generic attribute */
int
proj_num
;
};
/**
...
...
@@ -95,9 +95,9 @@ struct sparc_jmp_cond_attr_t {
*/
typedef
struct
sparc_jmp_switch_attr_t
sparc_jmp_switch_attr_t
;
struct
sparc_jmp_switch_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
int
n_projs
;
long
default_proj_num
;
sparc_attr_t
base
;
/**< generic attribute */
int
n_projs
;
long
default_proj_num
;
};
/**
...
...
@@ -105,9 +105,9 @@ struct sparc_jmp_switch_attr_t {
*/
typedef
struct
sparc_cmp_attr_t
sparc_cmp_attr_t
;
struct
sparc_cmp_attr_t
{
sparc_attr_t
base
;
/**< generic attribute */
bool
ins_permuted
:
1
;
bool
is_unsigned
:
1
;
sparc_attr_t
base
;
/**< generic attribute */
bool
ins_permuted
:
1
;
bool
is_unsigned
:
1
;
};
#endif
ir/be/sparc/sparc_spec.pl
View file @
af6ad571
# Creation: 2006/02/13
# $Id$
# This is a template specification for the Firm-Backend
$new_emit_syntax
=
1
;
# the cpu architecture (ia32, ia64, mips, sparc, ppc, ...)
$arch
=
"
sparc
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment