Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
f4a8107c
Commit
f4a8107c
authored
Aug 31, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Performance tuning of the Nf.
parent
dddcab16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/aig/gia/giaNf.c
+1
-1
No files found.
src/aig/gia/giaNf.c
View file @
f4a8107c
...
...
@@ -111,7 +111,7 @@ struct Nf_Man_t_
static
inline
int
Pf_Mat2Int
(
Pf_Mat_t
Mat
)
{
union
{
int
x
;
Pf_Mat_t
y
;
}
v
;
v
.
y
=
Mat
;
return
v
.
x
;
}
static
inline
Pf_Mat_t
Pf_Int2Mat
(
int
Int
)
{
union
{
int
x
;
Pf_Mat_t
y
;
}
v
;
v
.
x
=
Int
;
return
v
.
y
;
}
static
inline
float
Nf_Wrd2Flt
(
word
w
)
{
return
MIO_NUMINV
*
(
unsigned
)
w
;
}
static
inline
float
Nf_Wrd2Flt
(
word
w
)
{
return
MIO_NUMINV
*
(
unsigned
)
(
w
&
0x3FFFFFFF
)
+
MIO_NUMINV
*
(
1
<<
30
)
*
(
unsigned
)(
w
>>
30
);
}
static
inline
Nf_Obj_t
*
Nf_ManObj
(
Nf_Man_t
*
p
,
int
i
)
{
return
p
->
pNfObjs
+
i
;
}
static
inline
Mio_Cell2_t
*
Nf_ManCell
(
Nf_Man_t
*
p
,
int
i
)
{
return
p
->
pCells
+
i
;
}
...
...
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